Skip to content

Commit e822d87

Browse files
committed
Removed debugging output and converted one erroneous console.log to log.
1 parent 9e57df5 commit e822d87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ document.addEventListener('DOMContentLoaded', function() {
240240

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

@@ -446,7 +445,7 @@ function sendPortList(socket) {
446445
var msg_to_send = {type:'port-list',ports:wn.concat(wln)};
447446
socket.send(JSON.stringify(msg_to_send));
448447
if (chrome.runtime.lastError) {
449-
console.log(chrome.runtime.lastError);
448+
log(chrome.runtime.lastError, mDbug);
450449
}
451450
}
452451

0 commit comments

Comments
 (0)