[Pkg-mozext-commits] [tabmixplus] 08/22: Make sure draggedTab._dragData exist
David Prévot
taffit at moszumanska.debian.org
Sat Aug 5 15:28:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag 0.5.0.4pre.170625a1
in repository tabmixplus.
commit ee5eb9293648bca04595b1270cac55298dec8cee
Author: onemen <tabmix.onemen at gmail.com>
Date: Thu Jun 15 13:38:00 2017 +0300
Make sure draggedTab._dragData exist
---
chrome/content/minit/minit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 9a81531..8ba0665 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -426,7 +426,7 @@ var TMP_tabDNDObserver = {
tabBar._tabDropIndicator.collapsed = true;
event.stopPropagation();
- let oldTranslateX = draggedTab._dragData.translateX;
+ let oldTranslateX = draggedTab._dragData && draggedTab._dragData.translateX;
let dropIndex = "animDropIndex" in draggedTab._dragData &&
draggedTab._dragData.animDropIndex;
if (dropIndex && dropIndex > draggedTab._tPos)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list