Open fraktalfabrik opened 11 years ago
This is because $.browser is deprecated in jQuery 1.9+
so whats the solution here?
The jQuery.browser() method has been deprecated since jQuery 1.3 and is removed in 1.9. If needed, it is available as part of the jQuery Migrate plugin. We recommend using feature detection with a library such as Modernizr.
My solution was to downgrade jQuery to 1.8.3 or any compatible version for that matter.
No updates or fix for Bootstrap?
use jquery1.8.3
thankyou @wnghdcjfe
This took me forever to find!
This will work fine:
<!DOCTYPE html>
<head>
<title>Test me</title>
<script src="http://code.jquery.com/jquery-1.7.min.js"></script>
<script src="/assets/fbootstrap/js/bootstrap-twipsy.js"></script>
</head><body></body></html>
Where as this will not:
<!DOCTYPE html>
<head>
<title>Test me</title>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="/assets/fbootstrap/js/bootstrap-twipsy.js"></script>
</head><body></body></html>
It throws: "Uncaught TypeError: Cannot read property 'webkit' of undefined" in Chrome & FF.