Open niutech opened 11 years ago
Instead of adding a whole $.browser function, you could replace it with a one-liner:
/webkit/.test(navigator.userAgent.toLowerCase());
It will be faster and smaller in terms of bytes.
Does this fix the 20+ javascript errors referring to 'webkit'?
Instead of adding a whole $.browser function, you could replace it with a one-liner:
It will be faster and smaller in terms of bytes.