fxied
This commit is contained in:
@@ -7,6 +7,7 @@ import getSiteSupport, { SiteSupport } from './lib/getSiteSupport';
|
||||
import PopupMain from './components/PopupMain';
|
||||
|
||||
const support = getSiteSupport(window.location.href);
|
||||
console.log('support:', support);
|
||||
|
||||
if (!support) {
|
||||
throw new Error('UT Registration Plus does not support this page, even though it should...');
|
||||
|
||||
@@ -22,7 +22,7 @@ export default function getSiteSupport(url: string): SiteSupport | null {
|
||||
if (isExtensionPopup()) {
|
||||
return SiteSupport.EXTENSION_POPUP;
|
||||
}
|
||||
if (isExtensionPage('MyCalendar.html')) {
|
||||
if (isExtensionPage('my_calendar.html')) {
|
||||
return SiteSupport.MY_CALENDAR;
|
||||
}
|
||||
if (url.includes('utexas.collegescheduler.com')) {
|
||||
|
||||
Reference in New Issue
Block a user