dnd: Declare dragMonitors with var

It is used outside the DND module itself.

https://bugzilla.gnome.org/show_bug.cgi?id=787907
This commit is contained in:
Florian Müllner 2017-09-18 19:38:18 +02:00
parent 5a414fff44
commit 80151a7d64

View File

@ -38,10 +38,10 @@ var DragDropResult = {
SUCCESS: 1, SUCCESS: 1,
CONTINUE: 2 CONTINUE: 2
}; };
var dragMonitors = [];
let eventHandlerActor = null; let eventHandlerActor = null;
let currentDraggable = null; let currentDraggable = null;
let dragMonitors = [];
function _getEventHandlerActor() { function _getEventHandlerActor() {
if (!eventHandlerActor) { if (!eventHandlerActor) {