Browse Source

fix applyShortenedURI() to handle detached elements too

readme-update
Simon Grim 9 years ago
parent
commit
08856095b0
  1. 2
      js/interface_common.js

2
js/interface_common.js

@ -847,7 +847,7 @@ function fetchShortenedURI(req) { @@ -847,7 +847,7 @@ function fetchShortenedURI(req) {
}
function applyShortenedURI(short, long) {
var elems = $('.link-shortened[href="' + short + '"]')
var elems = getElem('.link-shortened[href="' + short + '"]')
.attr('href', long)
.removeClass('link-shortened')
.off('click mouseup')

Loading…
Cancel
Save