Calculate adds sizes
Trim white-spaces for share buttons Increase header with 1 pixel
This commit is contained in:
7
resources/assets/js/functions/advertisement.js
vendored
Normal file
7
resources/assets/js/functions/advertisement.js
vendored
Normal file
@@ -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