silverstrap 

silverstrap Commit Details

Date:2015-06-29 10:15:37 (5 years 3 months ago)
Author:Nicola Fontana
Branch:dev, master, ss3
Commit:10b1870f4095a09d0a6483168086fc471185719f
Parents: 15142306742f79ee4a425727c37c3c9a65218073
Message:Avoid zooming outside of the screen area

Changes:
Mjs/silverstrap.js (2 diffs)

File differences

js/silverstrap.js
1919
2020
2121
22
23
2224
2325
2426
......
3032
3133
3234
35
36
3337
3438
3539
$.colorbox({
href: extra.frame.full,
title: extra.frame.caption,
maxWidth: '98%',
maxHeight: '98%',
photo: true
});
});
if ($subject.length && $.isFunction($.colorbox)) {
$subject.colorbox({
rel: 'group',
maxWidth: '98%',
maxHeight: '98%',
photo: true
});
}

Archive Download the corresponding diff file