aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-18 23:22:34 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-18 23:22:34 +0100
commitafb5de955e00490be5762247e817b20722091f37 (patch)
tree035b826eacc5a21244c383075138731eaafeaebc /core/js/js.js
parent130c9cad030ca777e23ef70b76822553ea1c6411 (diff)
parent31cc9aa80d4284e13dc95d2ef1428bed78c22d65 (diff)
downloadnextcloud-server-afb5de955e00490be5762247e817b20722091f37.tar.gz
nextcloud-server-afb5de955e00490be5762247e817b20722091f37.zip
Merge branch 'master' into fixing-998-master
Conflicts: apps/files/ajax/upload.php apps/files/js/files.js
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/core/js/js.js b/core/js/js.js
index e724be9c2d5..3160159e287 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -536,6 +536,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");
}
/**
@@ -551,17 +552,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{