Fix redundant local overrides of jQuery plugin default configuration values with...
authorMike Taylor <mike@indexdata.com>
Wed, 12 Feb 2014 17:54:17 +0000 (17:54 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 12 Feb 2014 17:54:17 +0000 (17:54 +0000)
examples/htdocs/jasmine-local-popup.html
examples/htdocs/jasmine-popup.html
examples/htdocs/jquery.html

index 395f232..57ce497 100644 (file)
@@ -43,8 +43,8 @@
 
     jQuery.pazpar2({
         "layout": "popup",               /* "table" [default], "div", "popup" */
-        "id_button": "input#mkwsButton", /* submit button id in search field */
-        "id_popup": "#mkwsPopup",        /* internal id of popup window */
+        "id_button": "input.mkwsButton", /* submit button id in search field */
+        "id_popup": ".mkwsPopup",        /* internal id of popup window */
         "width": 990,                    /* popup width, should be at least 800 */
         "height": 760                    /* popup height, should be at least 600 */
     });
index c678b4d..4bf8835 100644 (file)
@@ -37,8 +37,8 @@
 
     jQuery.pazpar2({
         "layout": "popup",               /* "table" [default], "div", "popup" */
-        "id_button": "input#mkwsButton", /* submit button id in search field */
-        "id_popup": "#mkwsPopup",        /* internal id of popup window */
+        "id_button": "input.mkwsButton", /* submit button id in search field */
+        "id_popup": ".mkwsPopup",        /* internal id of popup window */
         "width": 990,                    /* popup width, should be at least 800 */
         "height": 760                    /* popup height, should be at least 600 */
     });
index 8c9f6e2..6ebb30f 100644 (file)
@@ -12,8 +12,8 @@
     <script type="text/javascript">
     jQuery.pazpar2({
         "layout": "popup",               /* "table" [default], "div", "popup" */
-        "id_button": "input#mkwsButton", /* submit button id in search field */
-        "id_popup": "#mkwsPopup",        /* internal id of popup window */
+        "id_button": "input.mkwsButton", /* submit button id in search field */
+        "id_popup": ".mkwsPopup",        /* internal id of popup window */
         "width": 880,                    /* popup width, should be at least 800 */ 
         "height": 760                    /* popup height, should be at least 600 */
     });