Skip to content

Commit

Permalink
Removed debugging output and converted one erroneous console.log to log.
Browse files Browse the repository at this point in the history
  • Loading branch information
PropGit committed Oct 11, 2019
1 parent 9e57df5 commit e822d87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ document.addEventListener('DOMContentLoaded', function() {

function sm32bit() {
// Convert current subnet mask (string form) to a 32-bit (4-byte) value
console.log("Converting");
return (parseInt($('sm0').value) << 24) + (parseInt($('sm1').value) << 16) + (parseInt($('sm2').value) << 8) + parseInt($('sm3').value);
}

Expand Down Expand Up @@ -446,7 +445,7 @@ function sendPortList(socket) {
var msg_to_send = {type:'port-list',ports:wn.concat(wln)};
socket.send(JSON.stringify(msg_to_send));
if (chrome.runtime.lastError) {
console.log(chrome.runtime.lastError);
log(chrome.runtime.lastError, mDbug);
}
}

Expand Down

0 comments on commit e822d87

Please sign in to comment.