1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-12 08:05:18 +01:00
blog/_src/assets/js/helper.js

19 lines
404 B
JavaScript
Raw Normal View History

/**
* MBP - Mobile boilerplate helper functions
*/
(function(document) {
window.MBP = window.MBP || {};
/**
* Enable CSS active pseudo styles in Mobile Safari
* http://alxgbsn.co.uk/2011/10/17/enable-css-active-pseudo-styles-in-mobile-safari/
*/
MBP.enableActive = function() {
document.addEventListener('touchstart', function() {}, false);
};
})(document);