From 80151a7d64934abcc96da6d9a56849ec1e60eb13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 18 Sep 2017 19:38:18 +0200 Subject: [PATCH] dnd: Declare dragMonitors with var It is used outside the DND module itself. https://bugzilla.gnome.org/show_bug.cgi?id=787907 --- js/ui/dnd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/dnd.js b/js/ui/dnd.js index 404c638aa..64c1eb51b 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -38,10 +38,10 @@ var DragDropResult = { SUCCESS: 1, CONTINUE: 2 }; +var dragMonitors = []; let eventHandlerActor = null; let currentDraggable = null; -let dragMonitors = []; function _getEventHandlerActor() { if (!eventHandlerActor) {