From 64c857e3ff127cf6ef92fb2d837d49b679bf7412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Wed, 6 Dec 2017 19:03:51 -0500 Subject: [PATCH] dnd: Declare restore location variables https://bugzilla.gnome.org/show_bug.cgi?id=791233 --- 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 a64915bc8..33580ee94 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -583,7 +583,7 @@ var _Draggable = new Lang.Class({ _restoreDragActor: function(eventTime) { this._dragInProgress = false; - [restoreX, restoreY, restoreScale] = this._getRestoreLocation(); + let [restoreX, restoreY, restoreScale] = this._getRestoreLocation(); // fade the actor back in at its original location this._dragActor.set_position(restoreX, restoreY);