Show More
@@ -1106,12 +1106,6 b' def get_comments_for(diff_type, comments' | |||
|
1106 | 1106 | ] |
|
1107 | 1107 | }; |
|
1108 | 1108 | |
|
1109 | // get stored diff mode and pre-enable it | |
|
1110 | if (templateContext.session_attrs.wide_diff_mode === "true") { | |
|
1111 | Rhodecode.comments.toggleWideMode(null); | |
|
1112 | $('.toggle-wide-diff').addClass('btn-active'); | |
|
1113 | } | |
|
1114 | ||
|
1115 | 1109 | var diffMenuId = "#diff_menu_" + "${diffset_container_id}"; |
|
1116 | 1110 | $(diffMenuId).select2({ |
|
1117 | 1111 | minimumResultsForSearch: -1, |
@@ -1144,6 +1138,13 b' def get_comments_for(diff_type, comments' | |||
|
1144 | 1138 | _gettext('Expand all files')); |
|
1145 | 1139 | } |
|
1146 | 1140 | updateSticky() |
|
1141 | }; | |
|
1142 | ||
|
1143 | // get stored diff mode and pre-enable it | |
|
1144 | if (templateContext.session_attrs.wide_diff_mode === "true") { | |
|
1145 | Rhodecode.comments.toggleWideMode(null); | |
|
1146 | $('.toggle-wide-diff').addClass('btn-active'); | |
|
1147 | updateSticky(); | |
|
1147 | 1148 | } |
|
1148 | 1149 | }); |
|
1149 | 1150 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now