Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion _dev/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*/
/* eslint-disable */
import 'expose-loader?exposes=Tether!tether';
// tether 2.x ships an ES module whose default export is the class, and webpack resolves it through
// the package's `module` field, so exposing the import itself puts the namespace object on
// window.Tether - `new Tether(...)` then throws "Tether is not a constructor" and Bootstrap's
// tooltips and popovers stay broken. `|default` exposes the export instead of the namespace.
import 'expose-loader?exposes=Tether|default!tether';
import 'bootstrap/dist/js/bootstrap.min';
import 'flexibility';
import 'bootstrap-touchspin';
Expand Down
Loading