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