Skip to content

Commit

Permalink
dnd: declare some js variables to avoid warning (linuxmint#7216)
Browse files Browse the repository at this point in the history
  • Loading branch information
brownsr authored and clefebvre committed Jan 24, 2018
1 parent 976a760 commit 65e0c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ui/dnd.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ const _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);
Expand Down

0 comments on commit 65e0c14

Please sign in to comment.