summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSClipboardCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSClipboardCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSClipboardCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/JSClipboardCustom.cpp b/WebCore/bindings/js/JSClipboardCustom.cpp
index 2a8d309..17c6640 100644
--- a/WebCore/bindings/js/JSClipboardCustom.cpp
+++ b/WebCore/bindings/js/JSClipboardCustom.cpp
@@ -101,7 +101,7 @@ JSValue JSClipboard::setDragImage(ExecState* exec)
{
Clipboard* clipboard = impl();
- if (!clipboard->isForDragging())
+ if (!clipboard->isForDragAndDrop())
return jsUndefined();
// FIXME: It does not match the rest of the JS bindings to throw on invalid number of arguments.