From 7d1312cd686dd7178d9fb9ae620aa98104e2fded Mon Sep 17 00:00:00 2001 From: anushadasari Date: Thu, 5 Sep 2019 21:42:19 +0530 Subject: Add Semicolon at the end In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-607 Change-Id: I53b2e7a540b88b3e04d9169670d1fc6b4a32c6e8 Signed-off-by: anushadasari --- .../app/vid/scripts/modals/alert-modal/alert-modal.controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vid-app-common/src/main/webapp/app') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js index 15c57f756..bcac579f3 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js @@ -31,11 +31,11 @@ vm.content = jobInfo.message; vm.mode = jobInfo.status; if (vm.mode == "failed") { - vm.Header = "Failed" + vm.Header = "Failed"; } else if (vm.mode == "confirm") { - vm.Header = "Confirm" + vm.Header = "Confirm"; } else { - vm.Header = "Success" + vm.Header = "Success"; } } }; -- cgit 1.2.3-korg