ashafer27 / curvycorners

Automatically exported from code.google.com/p/curvycorners
0 stars 0 forks source link

Failing in IE10 #116

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. IE10
2. windows 8
3.

What is the expected output? What do you see instead?
Demo5[tabs] failing in IE10 with nothing to adjust and error in Browser 
detection function.

What version of the product are you using? On what operating system?
IE10 AND WINDOWS 8

Please provide any additional information below.

Original issue reported on code.google.com by itsmechr...@gmail.com on 7 Feb 2013 at 6:40

GoogleCodeExporter commented 8 years ago
I am using a version of curvycorners from about a year ago...

Looking at the code that's failing, its trying to search for a single digit 
number followed by a . followed by another single digit number, e.g. 9.0, see 
code below

{this.ieVer=/msie\s(\d.\d)/.exec(b)[1].....

It cannot find 10.0 in the string b due to this restriction in the regular 
expression. To fix this, I have changed the regular expression to read:

/msie\s(\d+)/.exec(b)[1]

This appears to work fine.

Original comment by philipcj...@googlemail.com on 29 Mar 2013 at 9:46

GoogleCodeExporter commented 8 years ago
I tried the above code change, but still cannot get IE-10 to display the next 
tab.

Original comment by dglinste...@gmail.com on 13 May 2013 at 9:32

GoogleCodeExporter commented 8 years ago
Use this code, mate. it would surely work.

Original comment by tejaspat...@gmail.com on 20 May 2013 at 11:08

Attachments: