resize earlier
This commit is contained in:
parent
b44809d91b
commit
20f4a18222
|
@ -3,12 +3,13 @@ var padmaContainer;
|
|||
$(function() {
|
||||
padmaContainer = $('#padmaSidebar');
|
||||
padmaContainer.data("currentVideo", false);
|
||||
$(window).resize(function() {
|
||||
function resize() {
|
||||
var docWidth = $(document).width();
|
||||
var essayWidth = docWidth - 400;
|
||||
$('#leftWrapper').css("width", essayWidth);
|
||||
});
|
||||
$(window).trigger("resize");
|
||||
}
|
||||
resize();
|
||||
$(window).resize(resize);
|
||||
});
|
||||
|
||||
function setupPadmaLink(videoObj, data) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user