Skip to content

Commit

Permalink
Clean up IE shim that is no longer needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Nov 15, 2024
1 parent 44530c9 commit a82d6dc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions kolibri/core/assets/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ import coreModule from './state/modules/core';
// are set correctly
urls.setUp();

// Shim window.location.origin for IE.
if (!window.location.origin) {
window.location.origin = `${window.location.protocol}//${window.location.hostname}${
window.location.port ? `:${window.location.port}` : ''
}`;
}

// set up logging
logging.setDefaultLevel(process.env.NODE_ENV === 'production' ? 2 : 0);

Expand Down

0 comments on commit a82d6dc

Please sign in to comment.