This commit is contained in:
Van
2019-07-10 20:24:51 +08:00
parent c4c884ffdd
commit efcc10cdeb
7 changed files with 268 additions and 250 deletions

View File

@@ -1,3 +1,20 @@
/*
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-present, b3log.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
;(function ($) {
$.fn.circleMagic = function (options) {

View File

@@ -70,7 +70,7 @@ var Skin = {
$('.side__menu').click(function () {
$('.side__main').addClass('side__main--show').show()
})
$('.side__bg').click(function () {
$('.side__bg, .side__close').click(function () {
$('.side__main').removeClass('side__main--show')
setTimeout(function () {
$('.side__main').hide()
@@ -99,6 +99,8 @@ var Skin = {
}, 1000)
}
}, false)
$(window).scroll()
},
initArticle: function () {
page.share()