Update layui.js
This commit is contained in:
parent
af0c17f772
commit
1e316ed63d
@ -339,7 +339,7 @@ Lay.fn.device = function(key){
|
|||||||
} else if(/linux/.test(agent)){
|
} else if(/linux/.test(agent)){
|
||||||
return 'linux';
|
return 'linux';
|
||||||
} else if(/mac/.test(agent)){
|
} else if(/mac/.test(agent)){
|
||||||
return ‘mac’;
|
return 'mac';
|
||||||
} else if(/iphone|ipod|ipad|ios/.test(agent)){
|
} else if(/iphone|ipod|ipad|ios/.test(agent)){
|
||||||
return 'ios';
|
return 'ios';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user