aboutsummaryrefslogtreecommitdiffstats
path: root/data/mozlib/mozpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/mozlib/mozpage.js')
-rw-r--r--data/mozlib/mozpage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/mozlib/mozpage.js b/data/mozlib/mozpage.js
index 86c1559..5185cd7 100644
--- a/data/mozlib/mozpage.js
+++ b/data/mozlib/mozpage.js
@@ -58,10 +58,10 @@ var mozFlags = (function() {
})();
// Currently empty message handler
-function MozOnMessageHandler(msg, nextHandler) {
+function MozOnMessageHandler(msg, nextHandlerList) {
switch (msg.cmd) {
default:
- if (nextHandler) {
+ if (nextHandlerList) {
var nextHandler = nextHandlerList.splice(0, 1);
if (nextHandler[0]) {
nextHandler[0](msg, nextHandlerList);