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