mirror of
https://github.com/danbee/tube-status-server
synced 2025-03-04 08:39:12 +00:00
Fix iOS detection.
This commit is contained in:
parent
813913ac57
commit
fd7112c510
@ -5,7 +5,7 @@ function(iOS, header, footer) {
|
||||
|
||||
var Chrome = Backbone.View.extend({
|
||||
initialize: function() {
|
||||
if (phonegap && (device.platform == "iOS" || device.platform == "iPhone Simulator")) {
|
||||
if (phonegap && device.platform.match(/(iPhone|iPad)( Simulator)?/)) {
|
||||
new iOS({ collection: lines });
|
||||
}
|
||||
else if (phonegap && device.platform == "Android") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user