diff --git a/www/assets/js/track.js b/www/assets/js/track.js index 997761c..08848a1 100644 --- a/www/assets/js/track.js +++ b/www/assets/js/track.js @@ -17,11 +17,7 @@ function addTrackingSuggestions() { $("#tracking-history-list ul").html(""); var history = getTrackingHistory(); if (history == false || history.length == 0) { - $("#tracking-history-list ul").append('
  • ' - + '
    ' - + "You haven't tracked anything yet." - + '
  • '); - $("#tracking-history-list ul").html('
  • You haven\'t tracked anything yet.
  • '); + $("#tracking-history-list ul").html('
  • You haven\'t tracked anything yet.
  • '); } else { for (var i = history.length - 1; i >= 0; i--) { $("#tracking-history-list ul").append('
  • ' @@ -49,17 +45,17 @@ function addTrackingSuggestions() { } if (success.trackingnumbers.length == 0) { - $("#tracking-account-list ul").html('
  • '); + $("#tracking-account-list ul").html('
  • You have no recent shipments.
  • '); } } else { - $("#tracking-account-list ul").html('
  • Error: ' + success.msg + '
  • '); + $("#tracking-account-list ul").html('
  • Error: ' + success.msg + '
  • '); } }, function (xhr, status, error) { - $("#tracking-account-list ul").html('
  • Server or network error. Try again later.
  • '); + $("#tracking-account-list ul").html('
  • Server or network error. Try again later.
  • '); sendErrorReport("Tracking", "Couldn't get account tracking codes", "Server/network problem: " + xhr.status + ": " + xhr.statusText); }, "GET"); } else { - $("#tracking-account-list ul").html('
  • Get an account to use this feature.
  • '); + $("#tracking-account-list ul").html('
  • Get an account to use this feature.
  • '); } }