Permalink
Browse files

Fix typo in variable name

  • Loading branch information...
1 parent 656df1e commit 1b96f12adab7c4117844bb8d3fba584decaa769b @jkintscher jkintscher committed May 16, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 harvey.coffee
  2. +1 −1 harvey.js
View
@@ -19,7 +19,7 @@ class this.Harvey
@states[mediaQuery].push(state)
@_watch_query(mediaQuery) unless mediaQuery in @queries
- @_update_states([states], yes) if @_window_matchmedia(mediaQuery).matches
+ @_update_states([state], yes) if @_window_matchmedia(mediaQuery).matches
state
View
@@ -28,7 +28,7 @@
this._watch_query(mediaQuery);
}
if (this._window_matchmedia(mediaQuery).matches) {
- this._update_states([states], true);
+ this._update_states([state], true);
}
return state;
};

0 comments on commit 1b96f12

Please sign in to comment.