mediawiki.searchSuggest: Enable for iPhone and iPod touch
authorpaladox <thomasmulhall410@yahoo.com>
Tue, 1 Jul 2014 13:53:22 +0000 (13:53 +0000)
committerPaladox <thomasmulhall410@yahoo.com>
Tue, 1 Jul 2014 14:04:23 +0000 (14:04 +0000)
* This removes iPhone and iPod touch from browser blacklist.
* Similar to f64a3c26c6 in WikiEditor.
* it requires iOS 6 or later to work.

Change-Id: I46913bb6d360d6b0994b0585c0064f16f1ed460b

resources/src/mediawiki/mediawiki.searchSuggest.js

index a314dcb..a214cb3 100644 (file)
@@ -22,8 +22,9 @@
                        konqueror: [['>=', '4.11']],
                        docomo: false,
                        blackberry: false,
-                       ipod: false,
-                       iphone: false
+                       // Support for iOS 6 or higher. It has not been tested on iOS 5 or lower
+                       ipod: [['>=', 6]],
+                       iphone: [['>=', 6]]
                };
 
                if ( !$.client.test( map ) ) {