summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Richardson <trentdrichardson@gmail.com>2015-04-06 13:46:21 -0400
committerTrent Richardson <trentdrichardson@gmail.com>2015-04-06 13:46:21 -0400
commit2106d51293b26083161f9b3677e768b82b50eaec (patch)
tree291f6dabb1bbfed659c42fd57d42b2706be6b587
parent0e0e3ad0daa263db931faae59781e224e852b9cd (diff)
downloadjQuery-Impromptu-2106d51293b26083161f9b3677e768b82b50eaec.zip
jQuery-Impromptu-2106d51293b26083161f9b3677e768b82b50eaec.tar.gz
jQuery-Impromptu-2106d51293b26083161f9b3677e768b82b50eaec.tar.bz2
Fix issue in demo calling undefined api func
-rw-r--r--dist/demos/loan_calculator.html2
-rw-r--r--src/demos/loan_calculator.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/dist/demos/loan_calculator.html b/dist/demos/loan_calculator.html
index 3fbbfbb..388bfeb 100644
--- a/dist/demos/loan_calculator.html
+++ b/dist/demos/loan_calculator.html
@@ -67,7 +67,7 @@
var m = Math.round(p * 100) / 100;
}
- jQuery.prompt.getStateContent('state1').find('#intmonthlypayment').text(m);
+ jQuery.prompt.getState('state1').find('#intmonthlypayment').text(m);
jQuery.prompt.goToState('state1',true);
}
diff --git a/src/demos/loan_calculator.html b/src/demos/loan_calculator.html
index 3fbbfbb..388bfeb 100644
--- a/src/demos/loan_calculator.html
+++ b/src/demos/loan_calculator.html
@@ -67,7 +67,7 @@
var m = Math.round(p * 100) / 100;
}
- jQuery.prompt.getStateContent('state1').find('#intmonthlypayment').text(m);
+ jQuery.prompt.getState('state1').find('#intmonthlypayment').text(m);
jQuery.prompt.goToState('state1',true);
}