move last line of embedded js in overlay.xul to overlay.js

This commit is contained in:
Simon Kornblith 2011-02-01 10:51:59 +00:00
parent df28ad6e76
commit 623e2dd150
2 changed files with 2 additions and 8 deletions

View File

@ -98,6 +98,7 @@ var ZoteroOverlay = new function()
}
if (Zotero && Zotero.initialized){
document.getElementById('appcontent').addEventListener('mousemove', Zotero.ProgressWindowSet.updateTimers, false);
switch (iconPref) {
case 2:
icon.setAttribute('hidden', false);

View File

@ -69,14 +69,7 @@
<hbox id="urlbar-icons">
<image src="chrome://zotero/skin/treeitem-book.png" id="zotero-status-image" onclick="Zotero_Browser.scrapeThisPage()" position="1" hidden="true"/>
</hbox>
<script>
<![CDATA[
// Make sure open progress windows are fading
document.getElementById('appcontent').addEventListener('mousemove', Zotero.ProgressWindowSet.updateTimers, false);
]]>
</script>
<menupopup id="menu_ToolsPopup">
<menuseparator id="zoteroSeparator" insertbefore="devToolsSeparator"/>
<menuitem id="tools-zotero" insertbefore="devToolsSeparator"