Skip to content

TagSpaces is an offline, open source, document manager with tagging support

making ok button close the preview

uggrockf1925070fb36
diff --git a/data/ext/viewerZIP/previewDialog.html b/data/ext/viewerZIP/previewDialog.html
index e0747058f..da41d28b3 100644
--- a/data/ext/viewerZIP/previewDialog.html
+++ b/data/ext/viewerZIP/previewDialog.html
@@ -8,7 +8,7 @@
</div>
<div class="modal-body" style="overflow:auto; max-height:400px;"></div>
<div class="modal-footer">
- <button id="okButton" class="btn btn-primary"><i class="fa fa-check fa-lg"></i></button>
+ <button id="okButton" class="btn btn-primary" data-dismiss="modal"><i class="fa fa-check fa-lg"></i></button>
</div>
</div>
</div>