We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8299a07 commit 3c3908dCopy full SHA for 3c3908d
subnets.html
@@ -437,10 +437,15 @@
437
{
438
preloadSubnetImages();
439
args = parseQueryString();
440
- if (args['network'] && args['mask'] && args['division'] && args['comments']) {
+ if (args['network'] && args['mask'] && args['division']) {
441
document.forms['calc'].elements['network'].value = args['network'];
442
document.forms['calc'].elements['netbits'].value = args['mask'];
443
- curComments = JSON.parse(args['comments']);
+
444
+ if (args['comments']) {
445
+ curComments = JSON.parse(args['comments']);
446
+ } else {
447
+ curComments = {};
448
+ }
449
updateNetwork();
450
var division = asciiToBin(args['division']);
451
rootSubnet = [0, 0, null];
0 commit comments