File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -581,6 +581,12 @@ ul {
581
581
.tw-block a {
582
582
direction : ltr !important ;
583
583
}
584
+ .tw-block video {
585
+ width : 100% ;
586
+ }
587
+ .tw-block iframe {
588
+ width : 100% ;
589
+ }
584
590
.article__list {
585
591
margin-top : 30px ;
586
592
text-align : right;
Original file line number Diff line number Diff line change @@ -590,6 +590,12 @@ ul {
590
590
.tw-block a {
591
591
direction : ltr !important ;
592
592
}
593
+ .tw-block video {
594
+ width : 100% ;
595
+ }
596
+ .tw-block iframe {
597
+ width : 100% ;
598
+ }
593
599
.article__list {
594
600
margin-top : 30px ;
595
601
text-align : right;
Original file line number Diff line number Diff line change 1
- const socket = new WebSocket ( "ws://" + window . location . host + "/ws/notifier/" ) ;
1
+ const protocol = window . location . protocol == "https:" ? "wss://" : "ws://" ;
2
+ const socket = new WebSocket ( protocol + window . location . host + "/ws/notifier/" ) ;
2
3
socket . onopen = function open ( ) {
3
4
console . log ( "WebSockets connection created." ) ;
4
5
} ;
You can’t perform that action at this time.
0 commit comments