Skip to content

Commit 6b8833d

Browse files
committed
made the donate funny
1 parent 29b8ba3 commit 6b8833d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20160111091452
2+
# Build: 20160111091842
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg

‎index.html‎

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎static/app/resources/css/style.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ html,body{
185185
}
186186
.zhifubao,.wechatpay{
187187
margin-right: 10px;
188-
margin-top: -45px;
188+
margin-top: -50px;
189189
width: 80px;
190190
}
191191
.paypal{

‎static/app/src/App.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@ $(function () {
512512
els.lastInputVal.replace(/\s+/ig,'+').split('+').forEach(function(key){
513513
if(/[^\x00-\xff]/gi.test(key)){
514514
tmpch.push(key);
515-
renderBaiduShare();
516515
els.isZHSearchKeyWords = true;
517516
}else{
518517
tmpval.push(key);
@@ -677,6 +676,7 @@ $(function () {
677676
}
678677
renderGithubCorner();
679678
renderDonate();
679+
renderBaiduShare();
680680
}
681681

682682
function renderSearchBtn(str){
@@ -774,7 +774,7 @@ $(function () {
774774
},param?500:3000);
775775
}
776776
function renderBaiduShare(){
777-
if(els.hasBaiduShare){return;}
777+
if(els.hasBaiduShare || !els.isZHSearchKeyWords){return;}
778778
els.hasBaiduShare = true;
779779
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"5","bdPos":"right","bdTop":els.body.height()/2-80}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
780780
}

0 commit comments

Comments
 (0)