♻️ toolptiped
This commit is contained in:
@@ -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'
|
||||
})
|
||||
},
|
||||
}
|
||||
|
2
Jane/js/common.min.js
vendored
2
Jane/js/common.min.js
vendored
@@ -1 +1 @@
|
||||
var Skin={initToc:function(){0<$(".b3-solo-list li").length&&768<$(window).width()?($(".b3-solo-list").css({right:"50px","border-right":"1px solid #fff",opacity:1}),$("#pjax.wrapper").css({"max-width":"968px","padding-right":"270px"})):$("#pjax.wrapper").removeAttr("style")},init:function(){Skin.initToc(),Util.initPjax(function(){$(".header a").each(function(){this.href===location.href?this.className="current tooltipped tooltipped__w":this.className="tooltipped tooltipped__w"}),Skin.initToc()}),$(".header a").each(function(){this.href===location.href&&(this.className="current tooltipped tooltipped__w")}).click(function(){$(".header a").removeClass("current"),this.className="current tooltipped tooltipped__w"})}};Skin.init();
|
||||
var Skin={initToc:function(){0<$(".b3-solo-list li").length&&768<$(window).width()?($(".b3-solo-list").css({right:"50px","border-right":"1px solid #fff",opacity:1}),$("#pjax.wrapper").css({"max-width":"968px","padding-right":"270px"})):$("#pjax.wrapper").removeAttr("style")},init:function(){Skin.initToc(),Util.initPjax(function(){$(".header a").each(function(){this.href===location.href?this.className="current vditor-tooltipped vditor-tooltipped__w":this.className="vditor-tooltipped vditor-tooltipped__w"}),Skin.initToc()}),$(".header a").each(function(){this.href===location.href&&(this.className="current vditor-tooltipped vditor-tooltipped__w")}).click(function(){$(".header a").removeClass("current"),this.className="current vditor-tooltipped vditor-tooltipped__w"})}};Skin.init();
|
Reference in New Issue
Block a user