1
0
Fork 0
forked from 0x2620/oxjs

better icon loading for firefox

This commit is contained in:
rolux 2010-09-11 10:59:40 +02:00
commit 1d00e6dc2e
6 changed files with 29 additions and 17 deletions

View file

@ -1731,7 +1731,7 @@ Ox.wordwrap = function(str, len, sep, bal, spa) {
>>> Ox.wordwrap("These are short words", 16, "<br/>", true)
These are <br/>short words
*/
var str = str.toString(),
var str = str === null ? '' : str.toString(),
len = len || 80,
sep = sep || "<br/>",
bal = bal || false,