Fixed 'Full Photo' in view.php

pull/462/head
Tobias Reich 8 years ago
parent 9e52f93a59
commit f7e624ca8b

@ -88,7 +88,7 @@ $(document).ready(function() {
// Direct Link
header.dom('#button_direct').on(eventName, function() {
let link = $('#imageview #image').css('background-image').replace(/"/g,'').replace(/url\(|\)$/ig, '')
let link = $('#imageview img').attr('src').replace(/"/g,'').replace(/url\(|\)$/ig, '')
window.open(link, '_newtab')
})

Loading…
Cancel
Save