mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 20:25:32 +01:00
This commit is contained in:
commit
4267da837a
@ -45,7 +45,7 @@ var update_textarea = function() {
|
|||||||
textarea.text("/* "+_("Enter here your own CSS rules...")+" */\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" +
|
"/* "+_("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" +
|
"/* "+_("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 {
|
||||||
textarea.text(localStorage.user_css);
|
textarea.text(localStorage.user_css);
|
||||||
|
@ -54,7 +54,7 @@ var update_textarea = function() {
|
|||||||
textarea.text("/* "+_("Enter here your own Javascript code...")+" */\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" +
|
"/* "+_("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" +
|
"/* "+_("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 {
|
||||||
textarea.text(localStorage.user_js);
|
textarea.text(localStorage.user_js);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user