diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 6ff6be735..ee0beabe9 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2372,7 +2372,7 @@ var AppIcon = GObject.registerClass({ let view = _getViewFromIcon(source); return source != this && - (source instanceof AppIcon) && + (source instanceof this.constructor) && (view instanceof AllView); }