From ffe41c9ae8d31065af405c44c95f0853f9996f1e Mon Sep 17 00:00:00 2001 From: James Kiesel Date: Tue, 21 Feb 2017 02:32:01 +1300 Subject: [PATCH] Allow access to safari hack applicable function --- app/assets/javascripts/discourse/lib/safari-hacks.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 index 6df7abd0d4b..2dae21a29c3 100644 --- a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 +++ b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 @@ -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 // This will apply hack on all iDevices return navigator.userAgent.match(/(iPad|iPhone|iPod)/g) &&