Selaa lähdekoodia

Use console.log instead of breakpoint

Andrew Patton 10 vuotta sitten
vanhempi
commit
71cefc95ab
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      public/js/app.js

+ 1 - 1
public/js/app.js

@@ -675,7 +675,7 @@ function initIssue() {
             var xhr = new XMLHttpRequest();
 
             xhr.addEventListener("error", function() {
-                debugger;
+                console.log("Issue submit request failed. xhr.status: " + xhr.status);
             });
 
             xhr.addEventListener("load", function() {