From b79731c548c57a11ecc51589c57be3acd3bff003 Mon Sep 17 00:00:00 2001 From: RealAngeleno Date: Thu, 3 Aug 2023 22:32:42 -0700 Subject: [PATCH] prohibit script from running on ios --- js/file-selector.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/file-selector.js b/js/file-selector.js index c2b5381b..2f85ed40 100644 --- a/js/file-selector.js +++ b/js/file-selector.js @@ -8,6 +8,11 @@ */ function init_file_selector(max_images) { + // Temporarily block iOS + if (/iPad|iPhone|iPod/.test(navigator.userAgent)) { + return; + } + $(document).ready(function () { // add options panel item if (window.Options && Options.get_tab('general')) {