Skip to content

Commit

Permalink
Bug fixed the console feature checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
thepag committed Dec 30, 2013
1 parent 7731ec5 commit 985b8d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jquery.jplayer/jquery.jplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* http://opensource.org/licenses/MIT
*
* Author: Mark J Panaghiston
* Version: 2.5.2
* Date: 15th December 2013
* Version: 2.5.3
* Date: 30th December 2013
*/

/* Code verified using http://www.jshint.com/ */
Expand Down Expand Up @@ -470,7 +470,7 @@
$.jPlayer.prototype = {
count: 0, // Static Variable: Change it via prototype.
version: { // Static Object
script: "2.5.2",
script: "2.5.3",
needFlash: "2.5.2",
flash: "unknown"
},
Expand Down Expand Up @@ -2899,8 +2899,8 @@
var msg = "jPlayer " + this.version.script + " : id='" + this.internal.self.id +"' : " + message;
if(!this.options.consoleAlerts) {
alert(msg);
} else if(console && console.log) {
console.log(msg);
} else if(window.console && window.console.log) {
window.console.log(msg);
}
},
_emulateHtmlBridge: function() {
Expand Down

0 comments on commit 985b8d7

Please sign in to comment.