--- a/src/cm/media/js/client/c_layout.js Tue Nov 05 18:29:29 2013 +0100
+++ b/src/cm/media/js/client/c_layout.js Wed Nov 06 19:05:09 2013 +0100
@@ -43,9 +43,13 @@
getTopICommentsWidth : function() {
return this.getTopICommentsWidthFromWidth(this.sliderValToPx(gPrefs.get('layout','comments_col_width'))) ;
},
-
+
+ iCommentsRequiredThreadPadding : function () {
+ return 2 * gConf['iCommentThreadPadding']; // PhA said : a threaded discussion with a depth of 2 still shoudn't hide the text 20100317
+ },
+
getTopICommentsWidthFromWidth : function(val) {
- var ret = val - ( 2 * gConf['iCommentThreadPadding']) ; // PhA said : a threaded discussion with a depth of 2 still shoudn't hide the text 20100317
+ var ret = val - this.iCommentsRequiredThreadPadding ();
return ret - 7;
},