From 421d30ef510f428f2971687395e2f922bf333ae3 Mon Sep 17 00:00:00 2001 From: Kumar Priyansh Date: Mon, 3 Jun 2019 05:49:12 +0530 Subject: Added Error on Wrong Product ID in URL --- shared/Dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/Dashboard.js b/shared/Dashboard.js index 34ab101..6b9990f 100644 --- a/shared/Dashboard.js +++ b/shared/Dashboard.js @@ -50,7 +50,7 @@ $(document).ready(function(){ }) } function showErrorDiv() { - + $('#loader').append('

This product does not exist.

Click here to go home

'); } function loadAllProducts() { $.getJSON("../products.json", function(result){ -- cgit v1.2.3