This commit is contained in:
Piro / YUKI Hiroshi 2012-12-04 02:04:06 +09:00
parent 5e09e88bb2
commit 196bb1e93c

View File

@ -277,7 +277,7 @@ catch(e) {
tabs[draggedTab._dragData.animDropIndex] : tabs[draggedTab._dragData.animDropIndex] :
// otherwise, we have to find "drop target" tab from screen coordinates. // otherwise, we have to find "drop target" tab from screen coordinates.
sv.getTabFromCoordinates(aEvent, sameTypeUndraggedTabs) || sv.getTabFromCoordinates(aEvent, sameTypeUndraggedTabs) ||
sv.getTabFromCoordinates(aEvent); tabs[draggedTab._dragData.animDropIndex] ;
} }
var isTabMoveFromOtherWindow = aSourceTab && aSourceTab.ownerDocument != d; var isTabMoveFromOtherWindow = aSourceTab && aSourceTab.ownerDocument != d;