Commit 95d46136 authored by webchick's avatar webchick

Issue #1835094 by nod_: JSHint matchmedia.js.

parent 97fdb7a3
......@@ -75,7 +75,7 @@ window.matchMedia = window.matchMedia || (function (doc, window) {
// Only execute the callback if the state has changed.
var oldstate = mql.matches;
mql.check();
if (oldstate != mql.matches) {
if (oldstate !== mql.matches) {
debounced.call(mql, mql);
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment