Permalink
Browse files

Merge remote-tracking branch 'lfranchi/typeof-fix' into V2.97a.201112…

…20+DEV
  • Loading branch information...
2 parents a8e4a31 + 8be83f2 commit 3ac63e3e46f9e43023d81061fb4b765c92106c2c @scottschiller committed Mar 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 script/soundmanager2.js
View
4 script/soundmanager2.js
@@ -3379,7 +3379,7 @@ function SoundManager(smURL, smID) {
// account for known cases like audio/mp3
- if (mime && _s.html5[mime] !== 'undefined') {
+ if (mime && typeof _s.html5[mime] !== 'undefined') {
return (_s.html5[mime] && !preferFlashCheck(mime));
}
@@ -5022,4 +5022,4 @@ if (typeof SM2_DEFER === 'undefined' || !SM2_DEFER) {
window.SoundManager = SoundManager; // constructor
window.soundManager = soundManager; // public API, flash callbacks etc.
-}(window));
+}(window));

0 comments on commit 3ac63e3

Please sign in to comment.