summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/buttons.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/buttons.js b/src/client/buttons.js
index 00554c8b..514a94ba 100644
--- a/src/client/buttons.js
+++ b/src/client/buttons.js
@@ -200,6 +200,7 @@ $('#btn_rzdoc__open').click(function() {
var rzdoc_cur_name = rz_core.rzdoc__current__get_name();
if (rzdoc_name == rzdoc_cur_name) {
console.log('rzdoc__open: ignoring request to reopen currently rzdoc: name: ' + rzdoc_cur_name);
+ cmd_bar.remove();
return;
}