Skip to content

Commit c4376f8

Browse files
committed
更改语法使用...
1 parent 86dae37 commit c4376f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

template/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
$$:function(id){
3030
return document.getElementById(id)
3131
},
32-
goToIndex(){
32+
goToIndex:function(){
3333
var elma = document.getElementsByTagName('A');
3434
for (var i = 0; i < elma.length; i++) {
3535
if(elma[i].pathname==='/') elma[i].href = this.root_path.replace(/\/$/,'')+'/';

0 commit comments

Comments
 (0)