diff --git a/lib/better_errors/templates/main.erb b/lib/better_errors/templates/main.erb index 5da0c530..c282c29f 100644 --- a/lib/better_errors/templates/main.erb +++ b/lib/better_errors/templates/main.erb @@ -595,6 +595,9 @@ color: #8080a0; padding-left: 20px; } + .console-has-been-used .live-console-hint { + display: none; + } .hint:before { content: '\25b2'; @@ -817,6 +820,28 @@ return html.replace(/&/, "&").replace(/>"); @@ -860,10 +878,6 @@ REPL.all[this.index] = this; }; - REPL.prototype.hideConsoleHint = function() { - document.querySelector('#live-shell-hint').style["display"] = "none"; - }; - REPL.prototype.focus = function() { this.inputElement.focus(); }; diff --git a/lib/better_errors/templates/variable_info.erb b/lib/better_errors/templates/variable_info.erb index 8b9c61bd..c6a2bf51 100644 --- a/lib/better_errors/templates/variable_info.erb +++ b/lib/better_errors/templates/variable_info.erb @@ -25,7 +25,7 @@ <% if BetterErrors.binding_of_caller_available? && @frame.frame_binding %> -