You are reading a single comment by @Velocio and its replies. Click here to read the full conversation.
  • And the fix for this one... the JS included this:

    			var preferredUserEvent = 'click';
    			if ('ontouchstart' in window){
    				preferredUserEvent = 'touchstart';
    			}
    
    			var events = [
    				[preferredUserEvent,	'.wmd-bold',	buttons.bold,	'bold'],
    				[preferredUserEvent,	'.wmd-italic',	buttons.italic,	'italic'],
    				[preferredUserEvent,	'.wmd-quote',	buttons.quote,	'quote'],
    				[preferredUserEvent,	'.wmd-code',	buttons.code,	'code'],
    				[preferredUserEvent,	'.wmd-link',	buttons.link,	'link'],
    				[preferredUserEvent,	'.wmd-image',	buttons.image,	'image'],
    				[preferredUserEvent,	'.wmd-ol',	buttons.olist,	'olist'],
    				[preferredUserEvent,	'.wmd-ul',	buttons.ulist,	'ulist']
    			];
    

    So I've just commented out the bit about preferring ontouchstart. Can't imagine anyone preferring that.

About

Avatar for Velocio @Velocio started