Commit 5df3c0f4 authored by chenzhuo's avatar chenzhuo

修复图片预览浏览器适配

parent bf1de981
......@@ -64,7 +64,7 @@
}
}
});
while (arry[index][0] != href) {
while (arry[index][0].replace(/%27/g,'')!= href) {
index++;
}
}
......@@ -82,7 +82,7 @@
for (i = 0 ; i < arry.length; i++){
if (index == i){
src = arry[i][0] ;
src = arry[i][0].replace(/%27/g,'');
alt = arry[i][1];
}
}
......@@ -100,7 +100,7 @@
for (i = 0 ; i < arry.length; i++){
if (index == i){
src = arry[i][0] ;
src = arry[i][0].replace(/%27/g,'');
alt = arry[i][1];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment