use colorbox for single photo viewing (replacing prettyPhoto, which may have license incompatibilities). Also set maximum size of a directory popup and let it scroll after that in case somebody set their profile keywords to the content of Webster's dictionary.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function dirdetails(hash) {
|
||||
|
||||
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
|
||||
$.colorbox({ html: data });
|
||||
$.colorbox({ maxWidth: "50%", maxHeight: "75%", html: data });
|
||||
});
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user