From 6fe9401c397f00fd6125cbb354247002ee1bf77c Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Wed, 6 Mar 2013 01:51:24 +0900 Subject: [PATCH] Suppress errors while dragging the tab bar itself --- modules/tabbarDNDObserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tabbarDNDObserver.js b/modules/tabbarDNDObserver.js index 23d254e6..3938b875 100644 --- a/modules/tabbarDNDObserver.js +++ b/modules/tabbarDNDObserver.js @@ -908,7 +908,7 @@ try{ isVertical : ( b.ownerDocument.defaultView['piro.sakura.ne.jp'].tabsDragUtils.isVertical(b.tabContainer) && ( - !draggedTab.pinned || + (draggedTab && !draggedTab.pinned) || !utils.getTreePref('pinnedTab.faviconized') ) )