Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve wording of touchOverflow debugging tip

  • Loading branch information...
commit 4de3b1c4d3169a0be091558915cc8bccd7173116 1 parent beffb36
@jakeboone02 authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/pages/touchoverflow.html
View
8 docs/pages/touchoverflow.html
@@ -68,12 +68,12 @@ <h2 id="ios5">touchOverflow: Dramatically improved page transitions and true fix
<h2>Debugging touchOverflow</h2>
- <p>Usually the touchOverflow is only enabled on devices, that support touch-scrolling of overflow areas. This does apparently not apply to desktop browsers, which makes it hard to debug problems with the touchOverflow-feature that only seem to occur on supported devices. But it's easy to enforce the touchOverflow-feature, even on the desktop:
+ <p>Generally touchOverflow is only enabled on devices that support touch-scrolling of overflow areas, not desktop browsers. This can make it difficult to debug problems with the touchOverflow feature. To enable touchOverflow on all browsers, use the following code:
<pre><code>&lt;script&gt;
-$(document).bind(&quot;mobileinit&quot;, function(){
-<strong> $.support.touchOverflow = true;
-</strong> $.mobile.touchOverflowEnabled = true;
+$(document).bind(&quot;mobileinit&quot;, function() {
+ <strong>$.support.touchOverflow = true;</strong>
+ $.mobile.touchOverflowEnabled = true;
});
&lt;/script&gt;</code></pre>
Please sign in to comment.
Something went wrong with that request. Please try again.