move last line of embedded js in overlay.xul to overlay.js
This commit is contained in:
parent
df28ad6e76
commit
623e2dd150
2 changed files with 2 additions and 8 deletions
|
@ -98,6 +98,7 @@ var ZoteroOverlay = new function()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Zotero && Zotero.initialized){
|
if (Zotero && Zotero.initialized){
|
||||||
|
document.getElementById('appcontent').addEventListener('mousemove', Zotero.ProgressWindowSet.updateTimers, false);
|
||||||
switch (iconPref) {
|
switch (iconPref) {
|
||||||
case 2:
|
case 2:
|
||||||
icon.setAttribute('hidden', false);
|
icon.setAttribute('hidden', false);
|
||||||
|
|
|
@ -69,14 +69,7 @@
|
||||||
<hbox id="urlbar-icons">
|
<hbox id="urlbar-icons">
|
||||||
<image src="chrome://zotero/skin/treeitem-book.png" id="zotero-status-image" onclick="Zotero_Browser.scrapeThisPage()" position="1" hidden="true"/>
|
<image src="chrome://zotero/skin/treeitem-book.png" id="zotero-status-image" onclick="Zotero_Browser.scrapeThisPage()" position="1" hidden="true"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
|
||||||
<script>
|
|
||||||
<![CDATA[
|
|
||||||
// Make sure open progress windows are fading
|
|
||||||
document.getElementById('appcontent').addEventListener('mousemove', Zotero.ProgressWindowSet.updateTimers, false);
|
|
||||||
]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<menupopup id="menu_ToolsPopup">
|
<menupopup id="menu_ToolsPopup">
|
||||||
<menuseparator id="zoteroSeparator" insertbefore="devToolsSeparator"/>
|
<menuseparator id="zoteroSeparator" insertbefore="devToolsSeparator"/>
|
||||||
<menuitem id="tools-zotero" insertbefore="devToolsSeparator"
|
<menuitem id="tools-zotero" insertbefore="devToolsSeparator"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue