diff options
| author | Kumar Priyansh <[email protected]> | 2019-06-03 05:49:12 +0530 |
|---|---|---|
| committer | Kumar Priyansh <[email protected]> | 2019-06-03 05:49:12 +0530 |
| commit | 421d30ef510f428f2971687395e2f922bf333ae3 (patch) | |
| tree | 9eb72d10b349fe17438d3e72931c5ace67f00491 /shared | |
| parent | 5f92a5f8ca47554f22ef1ad44de3cbffc6793130 (diff) | |
| download | firebase-ecommerce-421d30ef510f428f2971687395e2f922bf333ae3.tar.xz firebase-ecommerce-421d30ef510f428f2971687395e2f922bf333ae3.zip | |
Added Error on Wrong Product ID in URL
Diffstat (limited to 'shared')
| -rw-r--r-- | shared/Dashboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
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('<h1>This product does not exist.</h1><p>Click <a href="../dashboard">here</a> to go home</p>'); } function loadAllProducts() { $.getJSON("../products.json", function(result){ |
