From 0d792d10ca53712e3ac49f5169250954431c788d Mon Sep 17 00:00:00 2001 From: Adam Shire Date: Fri, 8 Nov 2024 12:00:05 -0500 Subject: [PATCH] don't chain things --- .../custom/01MIT_INST-TACOS/js/custom.js | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/primo-explore/custom/01MIT_INST-TACOS/js/custom.js b/primo-explore/custom/01MIT_INST-TACOS/js/custom.js index 0a166320..106f6960 100644 --- a/primo-explore/custom/01MIT_INST-TACOS/js/custom.js +++ b/primo-explore/custom/01MIT_INST-TACOS/js/custom.js @@ -3,35 +3,35 @@ var alertBannerTemplate = '
How are we doing? Give us feedback on your search experience.
'; - angular.module("viewCustom", ["angularLoad"]) - .component("prmSearchBookmarkFilterAfter", { - template: - '
', - }) - .component("prmLogoAfter", { - template: - '
Search Our Collections
', - }) - .component("prmSearchBarAfter", { - template: alertBannerTemplate, - }) - .component("prmAtozSearchBarAfter", { - template: alertBannerTemplate, - }) - .component("prmBrowseSearchBarAfter", { - template: alertBannerTemplate, - }) - .controller("prmNoSearchResultAfterController", [function () { - this.$onInit = function () { - this.getSearchTerm = this.parentCtrl.term; - }; - }]) - .component("prmNoSearchResultAfter", { - bindings: { - parentCtrl: "<", - }, - controller: "prmNoSearchResultAfterController", - template: ` + angular.module("viewCustom", ["angularLoad"]); + app.component("prmSearchBookmarkFilterAfter", { + template: + '
', + }); + app.component("prmLogoAfter", { + template: + '
Search Our Collections
', + }); + app.component("prmSearchBarAfter", { + template: alertBannerTemplate, + }); + app.component("prmAtozSearchBarAfter", { + template: alertBannerTemplate, + }); + app.component("prmBrowseSearchBarAfter", { + template: alertBannerTemplate, + }); + app.controller("prmNoSearchResultAfterController", [function () { + this.$onInit = function () { + this.getSearchTerm = this.parentCtrl.term; + }; + }]) + app.component("prmNoSearchResultAfter", { + bindings: { + parentCtrl: "<", + }, + controller: "prmNoSearchResultAfterController", + template: ` @@ -52,7 +52,7 @@ `, - }); + }); })(); /*----------below is the code for libchat-----------*/