dnd: Fix syntax error which led into g-s not starting anymore

With the recent port to JS6 classes, the trailing
comma after functions in the syntax of classes has
been removed.
However commit c2961f21 accidentally reintroduces
one trailing comma after a newly created function,
leading into g-s throwing an exception and not
starting anymore.

Therefore, remove this trailing comma to solve
this problem.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/366
This commit is contained in:
Pascal Nowack 2019-01-28 01:12:56 +01:00
parent 1af0b54c1e
commit 582b3aacf4

View File

@ -226,7 +226,7 @@ var _Draggable = class _Draggable {
}
return false;
},
}
_onEvent(actor, event) {
let device = event.get_device();