diff --git a/modules/tabbarDNDObserver.js b/modules/tabbarDNDObserver.js index 0544c1bd..ae637b6b 100644 --- a/modules/tabbarDNDObserver.js +++ b/modules/tabbarDNDObserver.js @@ -267,7 +267,7 @@ catch(e) { }; let draggedTab = aEvent.dataTransfer && aEvent.dataTransfer.mozGetDataAt(TAB_DROP_TYPE, 0); - if (draggedTab._dragData) { + if (draggedTab && draggedTab._dragData) { let sameTypeUndraggedTabs = tabs.filter(function(aTab) { return !aTab._dragData && aTab.pinned == draggedTab.pinned; });