diff --git a/src/prototype/prototype.js b/src/prototype/prototype.js index ef5b04604..10e6f5afc 100644 --- a/src/prototype/prototype.js +++ b/src/prototype/prototype.js @@ -136,7 +136,13 @@ var Prototype = { div = form = null; return isSupported; - })() + })(), + /** + * Prototype.BrowserFeatures.Touch -> Boolean + * + * Detects if the browser supports touch interaction. + **/ + Touch: navigator.msMaxTouchPoints || ('ontouchstart' in document.documentElement) }, ScriptFragment: ']*>([\\S\\s]*?)<\/script\\s*>',