1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 20:34:11 +01:00

Fix buffer.jsm bugs.

This commit is contained in:
Kris Maglione
2011-10-02 14:56:18 -04:00
parent 11af53d1ae
commit c500936b2e
2 changed files with 8 additions and 5 deletions

View File

@@ -296,9 +296,11 @@ overlay.overlayWindow(Object.keys(config.overlays), function _overlay(window) ({
});
},
unload: function unload(window) {
cleanup: function cleanup(window) {
overlay.windows = overlay.windows.filter(function (w) w != window);
},
unload: function unload(window) {
for each (let mod in this.modules.moduleList.reverse()) {
mod.stale = true;