mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
lint CPPlatformWindow+DOM.j
This commit is contained in:
1 parent
b57b705b1d
commit
1dc53ed149
1 file changed
+3
-4
@@ -188,9 +188,8 @@ var ModifierKeyCodes = [
|
||||
CPKeyCodes.CTRL,
|
||||
CPKeyCodes.ALT,
|
||||
CPKeyCodes.SHIFT
|
||||
];
|
||||
|
||||
var supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop];
|
||||
],
|
||||
supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop];
|
||||
|
||||
@implementation CPPlatformWindow (DOM)
|
||||
|
||||
@@ -1033,7 +1032,7 @@ var supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop];
|
||||
|
||||
// We lag 1 event behind without this timeout.
|
||||
setTimeout(function()
|
||||
{
|
||||
{
|
||||
// Find the scroll delta
|
||||
var deltaX = _DOMScrollingElement.scrollLeft - 150,
|
||||
deltaY = _DOMScrollingElement.scrollTop - 150;
|
||||
|
||||
Reference in new issue
Block a user