Allow access to safari hack applicable function

This commit is contained in:
James Kiesel 2017-02-21 02:32:01 +13:00
parent a6ebe495bf
commit ffe41c9ae8
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
function applicable() { export function applicable() {
// IE has no DOMNodeInserted so can not get this hack despite saying it is like iPhone // IE has no DOMNodeInserted so can not get this hack despite saying it is like iPhone
// This will apply hack on all iDevices // This will apply hack on all iDevices
return navigator.userAgent.match(/(iPad|iPhone|iPod)/g) && return navigator.userAgent.match(/(iPad|iPhone|iPod)/g) &&