Skip to content

Commit 0fdc278

Browse files
committed
Update demofunctions.js
1 parent f1837fc commit 0fdc278

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

release/scripts/demofunctions.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,9 @@ function startDemo(target) {
919919
if (url.indexOf('angular') != -1) {
920920
isnonpopupdemo = true;
921921
}
922-
922+
if (url.indexOf('blazor') != -1) {
923+
isnonpopupdemo = true;
924+
}
923925
if (this.isTouchDevice && url.indexOf('chart') == -1) isnonpopupdemo = false;
924926
if (that.mobile) {
925927
isnonpopupdemo = true;
@@ -1022,6 +1024,9 @@ function startDemo(target) {
10221024
else if (url.toString().indexOf('blazor-') >= 0) {
10231025
var w = url.toString().split('/');
10241026
var wIndex = w.indexOf('blazor');
1027+
if (wIndex<0) {
1028+
wIndex = w.indexOf('release');
1029+
}
10251030
if (wIndex<0) {
10261031
wIndex = w.indexOf('blazor.jqwidgets.com');
10271032
}

0 commit comments

Comments
 (0)