Merge branch 'master' of github.com:piroor/treestyletab

This commit is contained in:
YUKI Hiroshi 2015-12-25 14:42:53 +09:00
commit 2b2d3574e6

View File

@ -2906,6 +2906,9 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
case 'TabAttrModified': case 'TabAttrModified':
{ {
let tab = aEvent.originalTarget; let tab = aEvent.originalTarget;
// on Fireofx 38 the event has no "detail" information.
if (!aEvent.detail)
return;
aEvent.detail.changed.forEach(function(aAttrName) { aEvent.detail.changed.forEach(function(aAttrName) {
switch (aAttrName) switch (aAttrName)
{ {