File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
opengrok-web/src/main/webapp Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -303,10 +303,10 @@ document.domReady.push(function() {domReadyHistory();});
303303 <%
304304 if (count + startIndex > revision1 || (count + startIndex > revision2 && count + startIndex <= revision1 - 1)) {
305305 // revision1 enabled
306- } else if (count + startIndex == revision1 ) {
306+ } else if (count + startIndex == revision1) {
307307 // revision1 selected
308308 %> checked="checked"<%
309- } else if ( count + startIndex <= revision2 ) {
309+ } else if ( count + startIndex <= revision2) {
310310 // revision1 disabled
311311 % > disabled="disabled" <%
312312 }
@@ -319,12 +319,12 @@ document.domReady.push(function() {domReadyHistory();});
319319 data-diff-revision =" <%= QueryParameters . REVISION_2_PARAM % >"
320320 data-revision-path =" <%= path + ' @' + hist. getHistoryEntries(). get(startIndex + count). getRevision() % >"
321321 <%
322- if( count + startIndex < revision2 || (count + startIndex > revision2 && count + startIndex <= revision1 - 1) ) {
322+ if ( count + startIndex < revision2 || (count + startIndex > revision2 && count + startIndex <= revision1 - 1)) {
323323 // revision2 enabled
324- } else if( count + startIndex == revision2 ) {
324+ } else if ( count + startIndex == revision2) {
325325 // revision2 selected
326326 %> checked="checked" <%
327- } else if (count + startIndex >= revision1 ) {
327+ } else if (count + startIndex >= revision1) {
328328 // revision2 disabled
329329 % > disabled="disabled" <%
330330 }
You can’t perform that action at this time.
0 commit comments