TextDiffViewer/TextDiffViewer/ClientScript.js
//stores the count of comparision being made with load file

stores the count of comparision being made with load file
stores the count of comparision being made with load file
function PreviousBtnStuffs(){
    var skipNum = localStorage.getItem('skipNum');
    if (skipNum === null) {
        skipNum = 2;
    }
    var lineCount = localStorage.getItem('fileCount');
    document.getElementById("hiddenSkipNum").value = skipNum;
    skipNum--;
    if (skipNum < 2)
        skipNum = lineCount-1;
    localStorage.setItem('skipNum', skipNum);
}
function PreviousBtnStuffs ( ) { var skipNum = localStorage . getItem ( 'skipNum' ) ; if ( skipNum === null ) { skipNum = 2 ; } var lineCount = localStorage . getItem ( 'fileCount' ) ; document . getElementById ( "hiddenSkipNum" ) . value = skipNum ; skipNum -- ; if ( skipNum < 2 ) skipNum = lineCount - 1 ; localStorage . setItem ( 'skipNum' , skipNum ) ; }
stores the count of comparision being made with load file
stores the count of comparision being made with load file