Calculate adds sizes
Trim white-spaces for share buttons Increase header with 1 pixel
This commit is contained in:
1 parent
e7459cf026
commit
4db20ca296
7 files changed
+22
-7
No files matched your search
@@ -0,0 +1,7 @@
|
||||
function calculateSize(targetId) {
|
||||
setTimeout(function(){
|
||||
$('#' + targetId).height($('#' + targetId).children(":first").height());
|
||||
$('#' + targetId).width($('#' + targetId).children(":first").width());
|
||||
}, 500);
|
||||
$('#' + targetId).css({backgroundColor: 'transparent'});
|
||||
}
|
||||
Reference in new issue
Block a user