[gnome-shell] dnd: Declare dragMonitors with var
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dnd: Declare dragMonitors with var
- Date: Tue, 19 Sep 2017 18:08:04 +0000 (UTC)
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]