mkws-jquery.js's default selectors for id_button and id_popup now use
authorMike Taylor <mike@indexdata.com>
Wed, 12 Feb 2014 17:50:24 +0000 (17:50 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 12 Feb 2014 17:50:24 +0000 (17:50 +0000)
classes rather than identifiers. I suppose this is, sort of, a part of
MKWS-116.

tools/htdocs/mkws-jquery.js

index 8123b7d..225b562 100644 (file)
@@ -19,8 +19,8 @@ function _mkws_jquery_plugin ($) {
 
        var height = config.height || 760;
        var width = config.width || 880;
-       var id_button = config.id_button || "input#mkwsButton";
-       var id_popup = config.id_popup || "#mkwsPopup";
+       var id_button = config.id_button || "input.mkwsButton";
+       var id_popup = config.id_popup || ".mkwsPopup";
 
        debug("popup height: " + height + ", width: " + width);