set the height so colorbox can set its size correctly

This commit is contained in:
friendica
2013-12-23 20:04:00 -08:00
parent 4e3a2c5f28
commit 1c5fe5a1ac
2 changed files with 2 additions and 3 deletions

View File

@@ -1,8 +1,7 @@
function dirdetails(hash) {
$.get('dirprofile' + '?f=&hash=' + hash, function( data ) {
$.colorbox({ maxWidth: '75%', maxHeight: '75%', html: data });
$.colorbox.resize();
$.colorbox({ html: data });
});
}