Touch helper + Lots of fixes
Touch Helper
const hasTouched = require('mode-front-end/resources/assets/js/browserDetect/hasTouched');
// Before user touches the screen
console.log(hasTouched()); // false
// After user touches the screen
console.log(hasTouched()); // true
.has-touched {
/* Touch-only styles, applied *after* user touches the screen */
}
Other Updates Since Previous Release (v2.6.3):
- PR 25: Fix
slideDown
not returning correct heights in IE11 - PR 26: Chrome Version Helper
- Commits: Fix
isInViewport
failing when element is null: e9f4eba and 8aeb70f - PR 27: Drop let and const for builds that don't support ES6
- Commits: SVG: Escape more special characters so data URIs work in IE: b60d098
- PR 29: Reset list-style for o-list and modifiers
- PR 31: Touch Helper