فهرست منبع

delete comment

zahmis 5 سال پیش
والد
کامیت
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;