diff --git a/src/MediaQuery.js b/src/MediaQuery.js index 987969c..734f91c 100644 --- a/src/MediaQuery.js +++ b/src/MediaQuery.js @@ -33,7 +33,7 @@ var qh = new QueryHandler(handler); this.handlers.push(qh); - this.matches() && qh.on(); + this.matches() && qh.on() || qh.off(); }, /** @@ -81,4 +81,4 @@ handler[action](); }); } - }; \ No newline at end of file + };