mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
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…
x
Reference in New Issue
Block a user