|
|
|
@ -1485,7 +1485,7 @@ angular.module('myApp.services', [])
@@ -1485,7 +1485,7 @@ angular.module('myApp.services', [])
|
|
|
|
|
|
|
|
|
|
function wrapForFull (photoID) { |
|
|
|
|
var photo = wrapForHistory(photoID), |
|
|
|
|
fullWidth = 542, |
|
|
|
|
fullWidth = Math.min($(window).width() - 60, 542), |
|
|
|
|
fullHeight = $($window).height() - 150, |
|
|
|
|
fullPhotoSize = choosePhotoSize(photo, fullWidth, fullHeight), |
|
|
|
|
full = { |
|
|
|
@ -1583,7 +1583,7 @@ angular.module('myApp.services', [])
@@ -1583,7 +1583,7 @@ angular.module('myApp.services', [])
|
|
|
|
|
|
|
|
|
|
function wrapForFull (videoID) { |
|
|
|
|
var video = wrapForHistory(videoID), |
|
|
|
|
fullWidth = 542, |
|
|
|
|
fullWidth = Math.min($(window).width() - 60, 542), |
|
|
|
|
fullHeight = $($window).height() - 150, |
|
|
|
|
fullPhotoSize = video, |
|
|
|
|
full = { |
|
|
|
@ -2395,9 +2395,8 @@ angular.module('myApp.services', [])
@@ -2395,9 +2395,8 @@ angular.module('myApp.services', [])
|
|
|
|
|
notification.close(); |
|
|
|
|
if (window.chrome && chrome.app) { |
|
|
|
|
chrome.app.window.current().focus(); |
|
|
|
|
} else { |
|
|
|
|
window.focus(); |
|
|
|
|
} |
|
|
|
|
window.focus(); |
|
|
|
|
notificationsClear(); |
|
|
|
|
if (data.onclick) { |
|
|
|
|
data.onclick(); |
|
|
|
|