js: Use simplebar ES module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-09-15 14:09:22 -07:00
committed by Tim Abbott
parent 7c755f1394
commit b00a0bfe53
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
"use strict";
const SimpleBar = require("simplebar/dist/simplebar");
const SimpleBar = require("simplebar").default;
// What, if anything, obscures the home tab?

View File

@@ -49,7 +49,7 @@
"help": [
"./static/js/bundles/portico",
"simplebar/dist/simplebar.css",
"simplebar/dist/simplebar",
"simplebar",
"./static/js/portico/help",
"./static/js/portico/tabbed-instructions"
],