mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 17:31:00 +01:00
Revert "Remove some comments from the default user JS/CSS"
This reverts commit a2f62d0617
.
This commit is contained in:
parent
4f126e91ea
commit
d7ef24030a
@ -38,7 +38,9 @@ var apply_css = function() {
|
|||||||
|
|
||||||
var update_textarea = function() {
|
var update_textarea = function() {
|
||||||
if (!localStorage.user_css) {
|
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"; */');
|
'/* @import "http://example.com/style.css"; */');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -47,7 +47,9 @@ var apply_js = function() {
|
|||||||
|
|
||||||
var update_textarea = function() {
|
var update_textarea = function() {
|
||||||
if (!localStorage.user_js) {
|
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"); */');
|
'/* load_js("http://example.com/script.js"); */');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user