diff --git a/src/js/addProfLinks.js b/src/js/addProfLinks.js index 9602bdc..e0dfa57 100644 --- a/src/js/addProfLinks.js +++ b/src/js/addProfLinks.js @@ -18,6 +18,7 @@ The GNU General Public License can also be found at ' + profName.fullName + ''; @@ -93,7 +94,7 @@ function encodeSymbolsWin1252(string) { } -function generateProfNameObject(origName) { +function generateProfNameObject(minervaProfs, origName) { const name = origName.trim(); const splitName = name.split(' '); const profName = { @@ -101,7 +102,7 @@ function generateProfNameObject(origName) { fullNameKey: name.replace(/\W/g, ''), firstName: splitName[0], lastName: splitName[splitName.length-1], - + minerva: minervaProfs[name] }; const forURL = { fullName: profName.fullName.replace(/ /g, ' ').replace(/-/g, '‑'), diff --git a/src/manifest.json b/src/manifest.json index 5d24402..3d56955 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "name": "McGill Enhanced", "author": "Demetrios Koziris", "manifest_version": 2, - "version": "3.0.12", + "version": "3.0.13", "description": "Enhance the functionality of McGill.ca", "permissions" : [ "declarativeContent",