mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 926477 - Replace className usages with classList in browser-places.js. r=jaws
--HG-- extra : rebase_source : 3449c06897fe204c27654aab25e30ff1db8d4960
This commit is contained in:
parent
9ec64872fa
commit
f6e5602bcf
@ -102,8 +102,8 @@ var StarUI = {
|
||||
this.cancelButtonOnCommand();
|
||||
break;
|
||||
case KeyEvent.DOM_VK_RETURN:
|
||||
if (aEvent.target.className == "expander-up" ||
|
||||
aEvent.target.className == "expander-down" ||
|
||||
if (aEvent.target.classList.contains("expander-up") ||
|
||||
aEvent.target.classList.contains("expander-down") ||
|
||||
aEvent.target.id == "editBMPanel_newFolderButton") {
|
||||
//XXX Why is this necessary? The defaultPrevented check should
|
||||
// be enough.
|
||||
|
Loading…
Reference in New Issue
Block a user