1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 23:50:11 +01:00

Revert "Remove some comments from the default user JS/CSS"

This reverts commit a2f62d0617.
This commit is contained in:
Pashe 2015-02-25 21:51:45 -06:00
parent 4f126e91ea
commit d7ef24030a
2 changed files with 6 additions and 2 deletions

View File

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

View File

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