jquery / themeroller.jquerymobile.com

ThemeRoller site for jQuery Mobile
Other
140 stars 73 forks source link

Fixed a bug that CSS styles isn't applied properly when the theme version is upgraded or downgraded via "Switch to version" of toolbar. #154

Closed hyunsook closed 10 years ago

hyunsook commented 10 years ago

Hi~!

As you know, TR.styleArray has the class references and values for each theme version. Until now, if the theme is changed among versions, ThemeRoller seems to change TR.styleBlock and doesn't seem to update TR.styleArray. But TR.styleArray should be updated on 1.4.0 version, in case of changing the theme version. Hence, I'll do that PR to add the references to the TR.styleArray, if references don’t exist in the target TR.styleArray.

If there are any problems or mistakes on that PR, please let me know. Thanks in advance.

hyunsook commented 10 years ago

In the process of fixing #148, I found that bug and will fix it.

gabrielschulhof commented 10 years ago

I've merged this commit after rebasing it. Thanks!