craigspaeth/jquery.fillwidth — pull request #5 by zamiang (2012-03-19 16:00:24+00:00)
Title: @craigspaeth No longer attaching resize events for iOS devices

The real issue is that on iOS devices changing document height triggers a 'resize' event. Since we cannot fix that issue, we work around it by not binding to resize events on ios devices.

The scenario: Fillwidth resizes images -> *document height changed* -> *resize event fired* -> Fillwidth resizes images -> repeat infinitely...

Sorry for all the whitespace in the diff (.____.)

The actual code is: https://github.com/zamiang/jquery.fillwidth/pull/new/i_device_fix#L0R184