Changeset 846201 for hideshowpassword
- Timestamp:
- 01/27/2014 12:12:20 PM (12 years ago)
- File:
-
- 1 edited
-
hideshowpassword/trunk/js/public.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hideshowpassword/trunk/js/public.js
r846192 r846201 2 2 "use strict"; 3 3 $(function () { 4 var hasTouch = false; 5 if ( ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch ) { 6 hasTouch = true; 7 } 4 8 $('#user_pass').hideShowPassword({ 5 9 // Creates a wrapper and toggle element with minimal styles. 6 10 innerToggle: true, 7 touchSupport: true11 touchSupport: hasTouch 8 12 }); 9 13 });
Note: See TracChangeset
for help on using the changeset viewer.