Skip to content

Commit

Permalink
Fixed the getScope method to use _scope instead of undefined scope va…
Browse files Browse the repository at this point in the history
…riable.
  • Loading branch information
micsco committed Sep 10, 2011
1 parent ed510bc commit b0c7801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymaster.js
Expand Up @@ -131,7 +131,7 @@

// set current scope (default 'all')
function setScope(scope){ _scope = scope || 'all' };
function getScope(){ return scope || 'all' };
function getScope(){ return _scope || 'all' };

// cross-browser events
function addEvent(object, event, method) {
Expand Down

0 comments on commit b0c7801

Please sign in to comment.