[gnome-shell] dnd: Declare dragMonitors with var



commit 80151a7d64934abcc96da6d9a56849ec1e60eb13
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Sep 18 19:38:18 2017 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/dnd.js b/js/ui/dnd.js
index 404c638..64c1eb5 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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]