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

View File

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