summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/www/script/futon.browse.js10
-rw-r--r--share/www/style/layout.css1
2 files changed, 0 insertions, 11 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 0ff86f94..b85e8691 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -205,16 +205,6 @@
$.cookies.get(db.name + ".reduce", "")
);
}
- $("#viewcode textarea").change(function() {
- if (page.viewLanguage == "javascript") {
- try {
- var func = eval("(" + $(this).val() + ")");
- $(this).removeClass("invalid").next(".error").remove();
- } catch (err) {
- $(this).addClass("invalid").data("error", err.message);
- }
- }
- });
page.populateLanguagesMenu();
}
diff --git a/share/www/style/layout.css b/share/www/style/layout.css
index a05b350f..c36892dd 100644
--- a/share/www/style/layout.css
+++ b/share/www/style/layout.css
@@ -314,7 +314,6 @@ ul.suggest-dropdown li.selected { cursor: pointer; background: Highlight;
resize: none; width: 100%; overflow: auto;
}
#viewcode .code textarea:focus { background: #e9f4ff; }
-#viewcode .code textarea.invalid { background: #fee; color: #800; }
#viewcode .bottom { border-bottom: none; clear: left; padding: 1px 3px; }
#viewcode .bottom button { font-size: 90%; margin: 0 1em 0 0;
padding-left: 2em; padding-right: 2em;