Skip to content

Commit 1dd85db

Browse files
committed
fix style
1 parent cf7d045 commit 1dd85db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

opengrok-web/src/main/webapp/history.jsp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)