Skip to content

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

removed unneeded href attributes

uggrock67f30d028a3f
diff --git a/data/index.html b/data/index.html
index c8bb4001f..f5e25f0fc 100644
--- a/data/index.html
+++ b/data/index.html
@@ -403,12 +403,12 @@
</ul>
<ul id="settingsMenu" class="dropdown-menu has-tip anchor-right">
- <li><a id="openOptions" href="#dialogOptions" title="Options Dialog"><i class="icon-wrench"></i> Options</a></li>
+ <li><a id="openOptions" title="Options Dialog"><i class="icon-wrench"></i> Options</a></li>
<li><a target="_new" href="https://github.com/uggrock/tagspaces/issues/" title="Report a issue or enhancement"><i class="icon-flag"></i> Report Issue</a></li>
<li><a target="_new" href="https://twitter.com/tagspaces" title="Follow on twitter"><i class="icon-twitter"></i> Follow @tagspaces</a></li>
<li><a href="mailto:[email protected]" title="Drop a line to the developers"><i class="icon-envelope-alt"></i> Contact developers</a></li>
<li class="divider"></li>
- <li><a id="openAboutBox" data-placement="bottom" href="#dialogAbout" data-toggle="modal"><i class="icon-comment"></i> About TagSpaces</a></li>
+ <li><a id="openAboutBox" data-placement="bottom" data-toggle="modal"><i class="icon-comment"></i> About TagSpaces</a></li>
</ul>
<ul id="fileActionsMenu" class="dropdown-menu has-tip anchor-right"></ul>
diff --git a/data/js/core.ui.js b/data/js/core.ui.js
index 59d3c55e5..d9beca11b 100644
--- a/data/js/core.ui.js
+++ b/data/js/core.ui.js
@@ -179,6 +179,11 @@ define(function(require, exports, module) {
$("#aboutIframe").attr("src","about.html");
});
+ // Open About Dialog
+ $( "#openAboutBox" ).click(function() {
+ $('#dialogAbout').modal('show');
+ });
+
// Open Options Dialog
$( "#openOptions" ).click(function() {
require(['tsoptions'], function () {
diff --git a/data/js/fileopener.js b/data/js/fileopener.js
index 419621101..a11210116 100644
--- a/data/js/fileopener.js
+++ b/data/js/fileopener.js
@@ -225,7 +225,6 @@ define(function(require, exports, module) {
// Ignoring the tags already assigned to a file
if(tags.indexOf(suggTags[i]) < 0) {
$( "#tagSuggestionsMenu" ).append($('<li>', {name: suggTags[i]}).append($('<a>', {
- href: "javascript:void(0);",
title: "Add tag "+suggTags[i]+" to current file",
tagname: suggTags[i],
filepath: filePath,
diff --git a/data/js/options.ui.js b/data/js/options.ui.js
index f4d93b33a..21a8a1c98 100644
--- a/data/js/options.ui.js
+++ b/data/js/options.ui.js
@@ -69,10 +69,10 @@ define(function(require, exports, module) {
function addPerspective(parent, perspectiveId) {
var perspectiveControl = $("<div class='control control-row'>")
.append($("<div class='input-prepend input-append btn-group' style='padding: 3px 5px'>")
- .append($("<a class='btn' href='#' ><span class='icon-ellipsis-vertical'></span></a>"))
+ .append($("<a class='btn' ><span class='icon-ellipsis-vertical'></span></a>"))
.append($("<select class='span3'></select>"))
//.append($("<input autocomplete='off' class='span3' type='text' placeholder='perspective ID'>").val(perspectiveId))
- //.append($("<a class='btn' href='#'>").append("<span class='caret'></span>"))
+ //.append($("<a class='btn'>").append("<span class='caret'></span>"))
.append($("<button class='btn' title='Remove this extension'><i class='icon-remove'></button>")
.click(function() {
$(this).parent().parent().remove();