Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…20+DEV
  • Loading branch information...
commit 3ac63e3e46f9e43023d81061fb4b765c92106c2c 2 parents a8e4a31 + 8be83f2
Scott Schiller authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 script/soundmanager2.js
4 script/soundmanager2.js
View
@@ -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));
Please sign in to comment.
Something went wrong with that request. Please try again.