scripts/leetcode.js
/* This will create a failed tick mark before "Run Code" button signalling that upload failed */
This will create a failed tick mark before "Run Code" button signalling that upload failed
This will create a failed tick mark before " Run Code " button signalling that upload failed
function markUploadFailed() {
  elem = document.getElementById("leethub_progress_elem");
  if (elem) {
    elem.className = "";
    style = 'display: inline-block;transform: rotate(45deg);height:24px;width:12px;border-bottom:7px solid red;border-right:7px solid red;'
    elem.style = style;
  }
}
function markUploadFailed ( ) { elem = document . getElementById ( "leethub_progress_elem" ) ; if ( elem ) { elem . className = "" ; style = 'display: inline-block;transform: rotate(45deg);height:24px;width:12px;border-bottom:7px solid red;border-right:7px solid red;' elem . style = style ; } }
This will create a failed tick mark before "Run Code" button signalling that upload failed
This will create a failed tick mark before " Run Code " button signalling that upload failed