Browse Source

Comment out placeholder example code in user-js and user-css

main
Equus 7 years ago
committed by discomrade
parent
commit
ee2c58724f
  1. 2
      js/options/user-css.js
  2. 2
      js/options/user-js.js

2
js/options/user-css.js

@ -45,7 +45,7 @@ var update_textarea = function() {
textarea.text("/* "+_("Enter here your own CSS rules...")+" */\n" +
"/* "+_("If you want to make a redistributable style, be sure to\nhave a Yotsuba B theme selected.")+" */\n" +
"/* "+_("You can include CSS files from remote servers, for example:")+" */\n" +
'@import "http://example.com/style.css";');
'/* @import "https://example.com/style.css"; */');
}
else {
textarea.text(localStorage.user_css);

2
js/options/user-js.js

@ -54,7 +54,7 @@ var update_textarea = function() {
textarea.text("/* "+_("Enter here your own Javascript code...")+" */\n" +
"/* "+_("Have a backup of your storage somewhere, as messing here\nmay render you this website unusable.")+" */\n" +
"/* "+_("You can include JS files from remote servers, for example:")+" */\n" +
'load_js("http://example.com/script.js");');
'/* load_js("https://example.com/script.js"); */');
}
else {
textarea.text(localStorage.user_js);

Loading…
Cancel
Save