diff options
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/core/js/js.js b/core/js/js.js index 95889ac8a27..23ace89f4e3 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -504,6 +504,7 @@ function fillHeight(selector) { if(selector.outerHeight() > selector.height()){ selector.css('height', height-(selector.outerHeight()-selector.height()) + 'px'); } + console.warn("This function is deprecated! Use CSS instead"); } /** @@ -519,17 +520,11 @@ function fillWindow(selector) { if(selector.outerWidth() > selector.width()){ selector.css('width', width-(selector.outerWidth()-selector.width()) + 'px'); } + console.warn("This function is deprecated! Use CSS instead"); } $(document).ready(function(){ - $(window).resize(function () { - fillHeight($('#leftcontent')); - fillWindow($('#content')); - fillWindow($('#rightcontent')); - }); - $(window).trigger('resize'); - if(!SVGSupport()){ //replace all svg images with png images for browser that dont support svg replaceSVG(); }else{ |