Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fixed problems with checkboxes/radio buttons in the product picker

Beth Timmons57b0be18076a
diff --git a/js/ext/joyride/jquery.joyride-2.0.3.js b/js/ext/joyride/jquery.joyride-2.0.3.js
index 5776e087e..3c19a6e4f 100644
--- a/js/ext/joyride/jquery.joyride-2.0.3.js
+++ b/js/ext/joyride/jquery.joyride-2.0.3.js
@@ -97,9 +97,9 @@
}
- settings.$document.on('click.joyride', '.joyride-next-tip, .joyride-modal-bg', function (e) {
- e.preventDefault();
+ settings.$document.on('click', '.joyride-next-tip, .joyride-modal-bg', function (e) {
if(e.target.text === "Next") {
+ e.preventDefault();
e.stopImmediatePropagation();
if (settings.$li.next().length < 1) {
methods.end();
@@ -116,8 +116,8 @@
//BETH
settings.$document.on('click.joyride', '.joyride-prev-tip, .joyride-modal-bg', function (e) {
- e.preventDefault();
if(e.target.text === "Prev") {
+ e.preventDefault();
e.stopImmediatePropagation();
if (settings.$li.prev().length < 1) {
methods.end();