prohibit script from running on ios
This commit is contained in:
parent
bc6460d6ab
commit
e077b4d153
|
@ -8,6 +8,11 @@
|
||||||
*/
|
*/
|
||||||
function init_file_selector(max_images) {
|
function init_file_selector(max_images) {
|
||||||
|
|
||||||
|
// Temporarily block iOS
|
||||||
|
if (/iPad|iPhone|iPod/.test(navigator.userAgent)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
// add options panel item
|
// add options panel item
|
||||||
if (window.Options && Options.get_tab('general')) {
|
if (window.Options && Options.get_tab('general')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user