mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
Moving some oncommand handlers outside of <template> constructs to avoid extra nsEventListenerManager creation (68074). sr=alecf
This commit is contained in:
parent
d503b0d100
commit
24b9f55534
@ -53,7 +53,8 @@
|
||||
value="&sidebar.picker.label;" >
|
||||
<menupopup id="sidebar-panel-picker-popup" popupanchor="topright"
|
||||
datasources="rdf:null"
|
||||
ref="urn:sidebar:current-panel-list">
|
||||
ref="urn:sidebar:current-panel-list"
|
||||
oncommand="SidebarTogglePanel(event.target);" >
|
||||
<template>
|
||||
<rule>
|
||||
<conditions>
|
||||
@ -73,7 +74,6 @@
|
||||
</bindings>
|
||||
<action>
|
||||
<menuitem uri="?panel" type="checkbox"
|
||||
oncommand="SidebarTogglePanel(event.target);"
|
||||
value="?title" exclude="?exclude"/>
|
||||
</action>
|
||||
</rule>
|
||||
|
Loading…
Reference in New Issue
Block a user