代码格式调整,升级优化
This commit is contained in:
@@ -22,11 +22,6 @@ layui.define(['layer', 'laytpl', 'form', 'element', 'upload', 'util', 'face'], f
|
||||
if(device.ie && device.ie < 8){
|
||||
layer.alert('如果您非得使用 IE 浏览器访问社区,那么请使用 IE8+');
|
||||
}
|
||||
//1216.top都统一访问到www.1216.top; 考虑SEO
|
||||
var addr = window.location.href
|
||||
if(addr.indexOf("1216.top") > -1 && addr.indexOf("www.1216.top") == -1){
|
||||
window.location.href = addr.replace("1216.top", "www.1216.top");
|
||||
}
|
||||
|
||||
layui.focusInsert = function(obj, str){
|
||||
var result, val = obj.value;
|
||||
|
Reference in New Issue
Block a user