Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jquery-archive/jquery-mobile
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: siromega/jquery-mobile
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 21, 2011

  1. Fixed for the first issue in #1422 - IE7 locks up in infinite JS resi…

    …ze events.
    
    
    The fix is to change how the detectResolutionBreakpoints function adds and removes classes from $html. The problem is that removing and adding those class names triggers the resize event again, resulting in infinite resize events. The solution is to come up with a new way to change the class names - by copying them off $html, adding and removing them locally in a variable, then checking to see if the class names have changed and applying the changed className string. Note that this would not be thread safe (any changes to $html.className would be lost if it were made between the read and the write) but since JS isn't threaded so we don't have to worry about that.
    siromega committed Apr 21, 2011
    Configuration menu
    Copy the full SHA
    dafc6fd View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2011

  1. Configuration menu
    Copy the full SHA
    d3ca4f3 View commit details
    Browse the repository at this point in the history
Loading