1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-17 19:29:28 +01:00

Remove some comments from the default user JS/CSS

This commit is contained in:
Pashe 2015-02-13 18:06:18 -06:00
parent 827dac38e8
commit a2f62d0617
2 changed files with 2 additions and 6 deletions

View File

@ -38,9 +38,7 @@ var apply_css = function() {
var update_textarea = function() {
if (!localStorage.user_css) {
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" +
textarea.text("/* "+_("You can include CSS files from remote servers, for example:")+" */\n" +
'/* @import "http://example.com/style.css"; */');
}
else {

View File

@ -47,9 +47,7 @@ var apply_js = function() {
var update_textarea = function() {
if (!localStorage.user_js) {
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" +
textarea.text("/* "+_("You can include JS files from remote servers, for example:")+" */\n" +
'/* load_js("http://example.com/script.js"); */');
}
else {