[WebProfilerBundle] fixed undefined buttons.
This commit is contained in:
parent
d64cb493af
commit
a8c4da12b8
@ -373,7 +373,7 @@
|
||||
throw "Tab target " + targetId + " does not exist";
|
||||
}
|
||||
|
||||
clickHandler(buttons[i], select);
|
||||
clickHandler(tabs[i], select);
|
||||
|
||||
Sfjs.addClass(target, 'hidden');
|
||||
}
|
||||
@ -398,7 +398,7 @@
|
||||
e = window.event;
|
||||
}
|
||||
|
||||
callback(e.target || e.srcElement);
|
||||
callback(this);
|
||||
|
||||
if (e.preventDefault) {
|
||||
e.preventDefault();
|
||||
|
Reference in New Issue
Block a user