diff options
| -rw-r--r-- | assets/js/miracles.min.js | 15 |
1 files 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
|
