Make Jpopmessage work in IE6, IE8 etc

  • gtherm
  • gtherm's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #99 by gtherm
gtherm created the topic: Make Jpopmessage work in IE6, IE8 etc
When running on IE8 you 'll get an error message related to trim method. To solve this, in jpopmessages_jquery.min.js and/or jpopmessages_jquery.js, insert after
var ele = false;
:
if (!('trim' in String.prototype)) {   
String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,""); };    
}
Please Giro add this on next release.

Please Log in or Create an account to join the conversation.

Fork me on GitHub
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information Ok