Fixed 'Full Photo' in view.php

This commit is contained in:
Tobias Reich 2016-01-24 17:09:49 +01:00
parent 9e52f93a59
commit f7e624ca8b

View File

@ -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')
})