1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 17:31:00 +01:00

Save makes more sense than update here

This commit is contained in:
Pashe 2015-02-13 18:07:38 -06:00
parent a2f62d0617
commit 4f126e91ea
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ var textarea = $("<textarea></textarea>").css({
"font-size" : "9pt",
"font-family": "monospace",
}).appendTo(tab.content);
var submit = $("<input type='button' value='"+_("Update custom CSS")+"'>").css({
var submit = $("<input type='button' value='"+_("Save custom CSS")+"'>").css({
"width": "100%",
}).click(function() {
localStorage.user_css = textarea.val();

View File

@ -19,7 +19,7 @@ var textarea = $("<textarea></textarea>").css({
"font-size" : "9pt",
"font-family": "monospace",
}).appendTo(tab.content);
var submit = $("<input type='button' value='"+_("Update custom Javascript")+"'>").css({
var submit = $("<input type='button' value='"+_("Save custom Javascript")+"'>").css({
"width": "100%",
}).click(function() {
localStorage.user_js = textarea.val();