Skip to content

Commit

Permalink
fix: duplicated dropdown-menu
Browse files Browse the repository at this point in the history
  • Loading branch information
eroamane authored May 17, 2020
1 parent 04e6c8f commit d64ada5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/yaaw.js
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,7 @@ var YAAW = (function() {
$("#setting-form input:radio[name=refresh_interval][value="+this.refresh_interval+"]").attr("checked", true);
$("#setting-form input:radio[name=finish_notification][value="+this.finish_notification+"]").attr("checked", true);
if (this.jsonrpc_history.length) {
$(".rpc-path-wrap .dropdown-menu").remove();
var content = '<ul class="dropdown-menu">';
$.each(this.jsonrpc_history, function(n, e) {
content += '<li><a href="#">'+e+'</a></li>';
Expand Down

0 comments on commit d64ada5

Please sign in to comment.