mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-27 17:00:52 +01:00
Merge pull request #613 from vichan-devel/RealAngeleno-patch-11
prohibit file-selector.js from running on ios
This commit is contained in:
commit
29e02b705a
@ -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')) {
|
||||
|
Loading…
Reference in New Issue
Block a user