zahmis 5 лет назад
Родитель
Сommit
a8a59c5207
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      src/client/js/components/PageHistory/PageRevisionTable.jsx

+ 0 - 4
src/client/js/components/PageHistory/PageRevisionTable.jsx

@@ -126,10 +126,6 @@ class PageRevisionTable extends React.Component {
         previousRevision = revision; // if it is the first revision, show full text as diff text
       }
 
-      // let isOldestRevision;
-      // if (revision === revisionCount - 1) {
-      //   isOldestRevision = true;
-      // }
 
       const hasDiff = revision.hasDiffToPrev !== false; // set 'true' if undefined for backward compatibility
       const isContiguousNodiff = !hasDiff && !hasDiffPrev;