diff options
Diffstat (limited to 'common/content/buffer.js')
-rw-r--r-- | common/content/buffer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/content/buffer.js b/common/content/buffer.js index 9c5f3031..1357afd6 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -1640,9 +1640,9 @@ var Buffer = Module("buffer", { }; }, events: function () { - events.addSessionListener(config.browser, "DOMContentLoaded", this.closure.onDOMContentLoaded, true); - events.addSessionListener(config.browser, "load", this.closure.onPageLoad, true); - events.addSessionListener(config.browser, "scroll", this.closure._updateBufferPosition, false); + events.addSessionListener(config.browser, "DOMContentLoaded", buffer.closure.onDOMContentLoaded, true); + events.addSessionListener(config.browser, "load", buffer.closure.onPageLoad, true); + events.addSessionListener(config.browser, "scroll", buffer.closure._updateBufferPosition, false); }, mappings: function () { var myModes = config.browserModes; |