♻️ toolptiped

This commit is contained in:
Van
2019-03-20 13:50:45 +08:00
parent 4d04c02872
commit 8c9b13c393
28 changed files with 42 additions and 191 deletions

View File

@@ -47,9 +47,9 @@ var Skin = {
Util.initPjax(function () {
$('.header a').each(function () {
if (this.href === location.href) {
this.className = 'current tooltipped tooltipped__w'
this.className = 'current vditor-tooltipped vditor-tooltipped__w'
} else {
this.className = 'tooltipped tooltipped__w'
this.className = 'vditor-tooltipped vditor-tooltipped__w'
}
})
@@ -58,11 +58,11 @@ var Skin = {
$('.header a').each(function () {
if (this.href === location.href) {
this.className = 'current tooltipped tooltipped__w'
this.className = 'current vditor-tooltipped vditor-tooltipped__w'
}
}).click(function () {
$('.header a').removeClass('current')
this.className = 'current tooltipped tooltipped__w'
this.className = 'current vditor-tooltipped vditor-tooltipped__w'
})
},
}