wojtor / jquery-star-rating-plugin

Automatically exported from code.google.com/p/jquery-star-rating-plugin
0 stars 0 forks source link

Jquery star rating 3.1.4 not compatible with Jquery 1.9.0 #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Jquery 1.9
2. Load the page with jquery star rating
3. It appear "Uncaught TypeError: Cannot read property 'msie' of undefined" 
error in chrome

What is the expected output? What do you see instead?
No error occured

What version of the plugin/jQuery are you using?
PLUGIN VERSION:3.1.4
JQUERY VERSION:1.9.0

On what browser(s) or operating system?
BROWSER(S): Chrome

Original issue reported on code.google.com by denniswo...@gmail.com on 24 Jan 2013 at 2:17

GoogleCodeExporter commented 9 years ago
my suggest is to change this:
if ($.browser.msie)
to this:
if (typeof document.body.style.maxHeight === "undefined")

For me works but NOT fully tested.

or try to use new jQuery method $.support -> for IE 6 & 7 try this:
$.support.boxModel

more info:
http://api.jquery.com/jQuery.support/

Original comment by pa...@sixpoints.pl on 30 Jan 2013 at 8:33

GoogleCodeExporter commented 9 years ago
Fixed and released v4.
http://www.fyneworks.com/jquery/star-rating/

Original comment by diego.a...@gmail.com on 18 Feb 2013 at 2:02