From 45e760b95b42834621adbdeaa4b2ba43b8d5d823 Mon Sep 17 00:00:00 2001 From: Eltrac Koalar Date: Thu, 26 Mar 2020 15:03:11 +0800 Subject: =?UTF-8?q?=F0=9F=92=8E=20Fix:=20=E9=A1=B5=E9=9D=A2=E4=B8=AD=20owo?= =?UTF-8?q?=20=E7=9A=84=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/miracles.min.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/assets/js/miracles.min.js b/assets/js/miracles.min.js index 998aa82..9e63619 100644 --- a/assets/js/miracles.min.js +++ b/assets/js/miracles.min.js @@ -101,19 +101,6 @@ function Gray() { addCookie("grayFilter", "off", 0); } } -//toggleSepia -/* 已被弃用的功能 -function Sepia() { - $("html").toggleClass("html-filter-sepia"); - $("html").removeClass("html-filter-gray"); - //add cookie to record - if ($("html").hasClass("html-filter-sepia")) { - addCookie("sepiaFilter", "on", 0); - } else { - addCookie("sepiaFilter", "off", 0); - } -} -*/ /** * Explore and load themes/filter @@ -207,6 +194,7 @@ function highlight() { //owo function owoLoad() { + if($(".owo")){ var OwO_demo = new OwO({ logo: 'OωO表情', container: document.getElementsByClassName('OwO')[0], @@ -216,6 +204,7 @@ function owoLoad() { width: '300px', maxHeight: '250px' }); + } } //Pangu.js -- cgit v1.2.3