diff --git a/www/assets/js/track.js b/www/assets/js/track.js index b3b18bb..c3dba53 100644 --- a/www/assets/js/track.js +++ b/www/assets/js/track.js @@ -55,18 +55,18 @@ function addTrackingSuggestions() { 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.
  • '); } var codes = getTrackingMultiList(); if (codes.length > 0) { - $("#tracking-multi-list ul").html('
  • Loading...
  • '); + $("#tracking-multi-list ul").html('
  • Loading...
  • '); // Only update if we're on that tab, since it's not the easiest API call for the server to do if ($("#tracking-multi-list").hasClass("tab-active")) { updateTrackingMultiListStatus(); } } else { - $("#tracking-multi-list ul").html('
  • Quickly see the latest status for multiple packages at the same time right here. Long-pressRight-click a tracking code in the Recent tab to add it.
  • '); + $("#tracking-multi-list ul").html('
  • Quickly see the latest status for multiple packages at the same time right here. Long-pressRight-click a tracking code in the Recent tab to add it.
  • '); } } @@ -77,10 +77,10 @@ function updateTrackingMultiListStatus() { if (codes.length > 0) { $("#tracking-multi-list ul").html(""); for (var i = 0; i < codes.length; i++) { - $("#tracking-multi-list ul").append('
  • '); } apirequest(SETTINGS.apis.trackmultiple, { @@ -92,9 +92,9 @@ function updateTrackingMultiListStatus() { $(".tracking-code-multi-link[data-trackingcode=\"" + code + "\"] .tracking-multi-status-icon").attr("src", "./assets/images/icons/" + resp.results[code].icon + ".svg"); } - $("#tracking-multi-list ul").append('
  •  Long-pressRight-click an entry to remove it.
  • '); + $("#tracking-multi-list ul").append('
  •  Long-pressRight-click an entry to remove it.
  • '); } else { - $("#tracking-multi-list ul").html('
  • Error: ' + resp.msg + '
  • '); + $("#tracking-multi-list ul").html('
  • Error: ' + resp.msg + '
  • '); sendErrorReport("Tracking", "Couldn't get multi tracking", resp.msg); } }, function (xhr) { @@ -104,17 +104,17 @@ function updateTrackingMultiListStatus() { $("#tracking-multi-list ul").html('
  • Error: ' + resp.msg + '
  • '); sendErrorReport("Tracking", "Couldn't get multi tracking", resp.msg); } else { - $("#tracking-multi-list ul").html('
  • There\'s a server or network problem. Check your Internet connection or try again later.
  • '); + $("#tracking-multi-list ul").html('
  • There\'s a server or network problem. Check your Internet connection or try again later.
  • '); sendErrorReport("Tracking", "Couldn't get multi tracking", "Server/network problem: " + xhr.status + ": " + xhr.statusText); } } catch (ex) { - $("#tracking-multi-list ul").html('
  • There\'s a server or network problem. Check your Internet connection or try again later.
  • '); + $("#tracking-multi-list ul").html('
  • There\'s a server or network problem. Check your Internet connection or try again later.
  • '); sendErrorReport("Tracking", "Couldn't get multi tracking", "Server/network problem: " + xhr.status + ": " + xhr.statusText); } }); } else { - $("#tracking-multi-list ul").html('
  • Quickly see the latest status for multiple packages at the same time right here. Long-press or right click a tracking code in the Recent tab to add it.
  • '); + $("#tracking-multi-list ul").html('
  • Quickly see the latest status for multiple packages at the same time right here. Long-press or right click a tracking code in the Recent tab to add it.
  • '); } }