Skip to content

Commit

Permalink
Ignore: Move add event listeners from pageinfo.xul to pageinfo.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fofajardo committed Apr 13, 2018
1 parent 6db19ef commit b49c9cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions content/pageinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ if (aios_inSidebar) {
}, false);
}

window.addEventListener("DOMContentLoaded", aios_init, false);
window.addEventListener("unload", aios_persistSelTab, false);

function aios_init() {
// Hide the menu bar on Mac OS X.
aios_hideMacMenubar();
Expand Down
6 changes: 0 additions & 6 deletions content/pageinfo.xul
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
<script type="application/x-javascript"
src="chrome://aios/content/pageinfo.js" />

<script><![CDATA[
window.addEventListener("DOMContentLoaded", aios_init, false);
window.addEventListener("unload", aios_persistSelTab, false);
]]>
</script>

<window id="main-window"
persist="screenX screenY width height sizemode seltab" />

Expand Down

0 comments on commit b49c9cb

Please sign in to comment.