diff options
Diffstat (limited to 'js/jquery.karma.js')
-rwxr-xr-x | js/jquery.karma.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/jquery.karma.js b/js/jquery.karma.js index bce3cd5..8e69151 100755 --- a/js/jquery.karma.js +++ b/js/jquery.karma.js @@ -951,9 +951,9 @@ var KMedia = Class( this.path = undefined; this.media = undefined; switch ( this.type ) { - case "image": this.media = new Image(); break; - case "sound": this.media = new Audio(); break; - default: throw new Error ("Media type not supported"); + case "image": this.media = new Image(); break; + case "sound": this.media = new Audio(); break; + default: throw new Error ("Media type not supported"); } this.path = gk.paths[ this.type + "s" ][ this.localized ? "localized": "generic" |