From 582b3aacf4a54299121d49501954ea02f6ed0382 Mon Sep 17 00:00:00 2001 From: Pascal Nowack Date: Mon, 28 Jan 2019 01:12:56 +0100 Subject: [PATCH] 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 --- 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 8bffeb408..07c19202a 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -226,7 +226,7 @@ var _Draggable = class _Draggable { } return false; - }, + } _onEvent(actor, event) { let device = event.get_device();