Skip to content

Commit

Permalink
Use static list item to allow text selection
Browse files Browse the repository at this point in the history
  • Loading branch information
feugy committed Jul 19, 2016
1 parent 67f2afe commit 8507866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/gauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,11 @@
var key = keyUtilities.generate(account.secret);

// Construct HTML
var detLink = $('<a href="#"><h3>' + key + '</h3><p>' + account.name + '</p></a>');
var detLink = $('<h3>' + key + '</h3><p>' + account.name + '</p>');
var accElem = $('<li data-icon="false">').append(detLink);

if(editingEnabled) {
var delLink = $('<a data-icon="delete" href="#"></a>');
var delLink = $('<p class="ui-li-aside"><a class="ui-btn-icon-notext ui-icon-delete" href="#"></a></p>');
delLink.click(function () {
deleteAccount(index);
});
Expand Down

0 comments on commit 8507866

Please sign in to comment.