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:
parent
827dac38e8
commit
a2f62d0617
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user