Allow access to safari hack applicable function
This commit is contained in:
parent
a6ebe495bf
commit
ffe41c9ae8
|
@ -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) &&
|
||||||
|
|
Loading…
Reference in New Issue