Permalink
Browse files

rename ds -> dataStatus for clarity

  • Loading branch information...
1 parent 6644ab5 commit 4f22bb23cb0e70c54e4e9080155e5e1fe99c0535 @rmarianski rmarianski committed Oct 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 search/templates/detail.html
@@ -427,8 +427,8 @@
$.getJSON(fetchUrl, function(data) {
- var ds = data['status'];
- if (!ds) {
+ var dataStatus = data['status'];
+ if (!dataStatus) {
return;
}
var extraDetailsContainer = $('#contact-extra-details').first();
@@ -443,7 +443,7 @@
var personDetails = $('#person-details');
personDetails.append(extraDetailsContainer);
- if (ds === 202 || ds === 500) {
+ if (dataStatus === 202 || dataStatus === 500) {
extraDetailsContainer.append(
$('<p />').text(
'Supplemental data not available ... retrying in 30 seconds'));

0 comments on commit 4f22bb2

Please sign in to comment.