X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-core.js;h=f09bf1624beee49c9ce18e5853b82744409118f0;hb=5caa51f2ff3d501afdb33336afba923443dcd6fe;hp=f90c7595169a2d6907e517d49047af7b87e93474;hpb=7bec77fef02180dbd735b5dab193fb3c1d7c0ece;p=mkws-moved-to-github.git diff --git a/src/mkws-core.js b/src/mkws-core.js index f90c759..f09bf16 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -113,12 +113,12 @@ mkws.log = function(string) { // navigation. pz2.js picks this up and uses it as part of the // cookie-name, to ensure each tab gets its own session. if (window.name) { - console.log("Using existing window.name '" + window.name + "'"); + mkws.log("Using existing window.name '" + window.name + "'"); } else { // Ten chars from 26 alpha-numerics = 36^10 = 3.65e15 combinations. // At one per second, it will take 116 million years to duplicate a session window.name = Math.random().toString(36).slice(2, 12); - console.log("Generated new window.name '" + window.name + "'"); + mkws.log("Generated new window.name '" + window.name + "'"); }