Permalink
Browse files

Merge pull request #3919 from uGoMobi/patch-6

Docs: API/Events - removed line about <html> getting class portrait/landscape [1.1.1]
  • Loading branch information...
1 parent d649851 commit a0959de8dfee478cdbf3dacd70a2ae10cb24fd02 @agcolom agcolom committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/api/events.html
View
@@ -100,7 +100,7 @@ <h4 style="margin:.5em 0">Canceling an elements default click behavior</h4>
<h2>Orientation change event</h2>
<dl>
<dt><code>orientationchange</code></dt>
- <dd>Triggers when a device orientation changes (by turning it vertically or horizontally). When bound to this event, your callback function can leverage a second argument, which contains an <code>orientation</code> property equal to either "portrait" or "landscape". These values are also added as classes to the HTML element, allowing you to leverage them in your CSS selectors. Note that we currently bind to the resize event when <code>orientationchange</code> is not natively supported, or when <code>$.mobile.orientationChangeEnabled</code> is set to false.</dd>
+ <dd>Triggers when a device orientation changes (by turning it vertically or horizontally). When bound to this event, your callback function can leverage a second argument, which contains an <code>orientation</code> property equal to either "portrait" or "landscape". Note that we currently bind to the resize event when <code>orientationchange</code> is not natively supported, or when <code>$.mobile.orientationChangeEnabled</code> is set to false.</dd>
<div class="ui-body ui-body-e">
<h4>orientationchange timing</h4>

0 comments on commit a0959de

Please sign in to comment.