We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81099fe commit a4b0188Copy full SHA for a4b0188
1 file changed
src/components/BootstrapBlazor.HikVision/wwwroot/hikvision.js
@@ -5,6 +5,10 @@ export async function init(id) {
5
await addScript('./_content/BootstrapBlazor.HikVision/jsVideoPlugin-1.0.0.min.js');
6
await addScript('./_content/BootstrapBlazor.HikVision/webVideoCtrl.js');
7
8
+ if (window.$ === void 0) {
9
+ await addScript('./_content/BootstrapBlazor.HikVision/jquery-1.7.1.min.js');
10
+ }
11
+
12
const el = document.getElementById(id);
13
if (el === null) {
14
return;
0 commit comments