Skip to content

Commit

Permalink
Merge pull request ewwink#20 from Loirooriol/patch-5
Browse files Browse the repository at this point in the history
Use SidebarUI.toggle instead of toggleSidebar
  • Loading branch information
ewwink authored Nov 25, 2017
2 parents 525176a + e89f743 commit 06937ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chrome/content/overlay-ff.xul
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
oncommand="com.tobwithu.xnotifier.onOpenXN()"/>
<menuitem id="xnotifier-sidebar" label="&xnotifier-sidebar;"
accesskey="&xnotifier-sidebar-key;"
oncommand="toggleSidebar('xnotifier-viewSidebar');"/>
oncommand="SidebarUI.toggle('xnotifier-viewSidebar');"/>
<menuseparator/>
<menuitem label="&options;"
accesskey="&options-key;"
Expand Down Expand Up @@ -106,6 +106,6 @@
group="sidebar"
sidebarurl="chrome://xnotifier/content/sidebar-ff.xul"
sidebartitle="&xnsidebar.label;"
oncommand="toggleSidebar('xnotifier-viewSidebar');" />
oncommand="SidebarUI.toggle('xnotifier-viewSidebar');" />
</broadcasterset>
</overlay>
</overlay>

0 comments on commit 06937ad

Please sign in to comment.