X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=8fc2d897589137a4d38484f90a8085026b889894;hp=bd122e23ee1cffa1ba4a8258631009217180bc58;hb=788954be61eb460e03e9c409a42a22c7198b84a5;hpb=5306decf7b5329212eb4b5aff7dcdb6c37eb95c5 diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index bd122e2..8fc2d89 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -1116,16 +1116,8 @@ function team($, teamName) { * implement jQuery plugin $.pazpar2({}) */ function _mkws_jquery_plugin ($) { - var debug_level = 1; - function debug (string) { - if (!debug_level) - return; - - if (typeof console === "undefined" || typeof console.log === "undefined") - return; - - console.log("jquery.pazpar2: " + string); + mkws.debug("jquery.pazpar2: " + string); } function init_popup(obj) {