Browse Source

Fixed 'Full Photo' in view.php

Tobias Reich 8 years ago
parent
commit
f7e624ca8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/scripts/view/main.js

+ 1 - 1
src/scripts/view/main.js

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