Skip to content

Commit

Permalink
Remove other dialogs when showing diplomacy dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasrosdal committed Jul 23, 2015
1 parent 8bd271e commit 3eaf627
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freeciv-web/src/main/webapp/javascript/diplomacy.js
Expand Up @@ -318,6 +318,7 @@ function create_diplomacy_dialog(counterpart) {
var pplayer = client.conn.playing;

// reset diplomacy_dialog div.
$("#dialog").remove();
$("#diplomacy_dialog").remove();
$("#self-items").remove();
$("#counterpart-items").remove();
Expand Down

0 comments on commit 3eaf627

Please sign in to comment.