TagSpaces is an offline, open source, document manager with tagging support
adding close popup window button
uggrocke36396aded87
diff --git a/data/chromium/popup.html b/data/chromium/popup.htmlindex 1aedf1386..9861da64c 100644--- a/data/chromium/popup.html+++ b/data/chromium/popup.html@@ -10,11 +10,12 @@ can be found in the LICENSE file.<title></title><link rel="stylesheet" type="text/css" href="../assets/tagspaces.css"></head>-<body style="width: 520px; height: 420px; padding:0; font-size: 14px; background-color: #f9f9f9;">+<body style="width: 540px; height: 420px; padding:0; font-size: 14px; background-color: #f9f9f9;"><div class="well" style="margin: 0; border: 0px; background-color: transparent;"><div style="white-space: nowrap;" class="text-center"><img src="../assets/icon128.png" class="pull-left" style="margin-left: 20px; max-height: 32px; max-width: 32px;"/> <a href="#" class="btn btn-primary" id="startTagSpaces" style="width: 350px;" data-i18n="appLauncher" data-i18n-title="appLauncherTitle"></a>+ <a href="#" class="btn btn-link pull-right" id="closePopup"><i class="fa fa-times"></i></a></div><label style="margin-top: 15px; font-size: 17px;" data-i18n="appLauncherLabel"></label><div class="form-group">diff --git a/data/chromium/popup.js b/data/chromium/popup.jsindex 241c5076c..46cf46ec2 100644--- a/data/chromium/popup.js+++ b/data/chromium/popup.js@@ -46,6 +46,9 @@});$("#saveAsMhtml").on('click', saveAsMHTML);+ $("#closePopup").on('click', function() {+ window.close();+ });$("#saveAsBookmark").on('click', saveAsBookmark);$("#saveSelectionAsHtml").on("click", function() {