From d7ef24030ae2125b68bd59a27a2afd33a1a9039e Mon Sep 17 00:00:00 2001 From: Pashe Date: Wed, 25 Feb 2015 21:51:45 -0600 Subject: [PATCH] Revert "Remove some comments from the default user JS/CSS" This reverts commit a2f62d06176316ee51ea8605420dc30467bd62b3. --- js/options/user-css.js | 4 +++- js/options/user-js.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/js/options/user-css.js b/js/options/user-css.js index 62ed3f80..bca98aa0 100644 --- a/js/options/user-css.js +++ b/js/options/user-css.js @@ -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 { diff --git a/js/options/user-js.js b/js/options/user-js.js index 24f5726f..4d792979 100644 --- a/js/options/user-js.js +++ b/js/options/user-js.js @@ -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 {