Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
wrapping checkbox-test console.log in conditional check to prevent IE…
Browse files Browse the repository at this point in the history
…9 from failing
  • Loading branch information
kevinparkerson committed Dec 9, 2014
1 parent 8e3b135 commit fc10c51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/checkbox-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ define(function(require){

//this doesn't work right from terminal, but, if you open in browser you'll see 'changed' in console
$chk1.on('change', function(){
console.log('change fired');
if(window.console && window.console.log) {
console.log('change fired');
}
changeOccurred = true;
});

Expand Down

0 comments on commit fc10c51

Please sign in to comment.