Commit 3242cf69 authored by mercury233's avatar mercury233

test fix dropdown menu

parent 1607ada9
Pipeline #4119 passed with stages
in 3 minutes and 53 seconds
......@@ -230,7 +230,7 @@
<button i18n class="btn btn-secondary dropdown-toggle btn-sm" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
游戏模式
</button>
<div class="dropdown-menu">
<div class="dropdown-menu" id="game_mode_dropdown">
<h6 i18n class="dropdown-header">匹配</h6>
<div class="form-check dropdown-item">
<input id="filter-athletic" type="checkbox" class="form-check-input" [(ngModel)]="replay_rooms_filter.athletic" (change)="refresh_replay_rooms()">
......
......@@ -388,6 +388,9 @@ export class YGOProComponent implements OnInit, OnDestroy {
this.replay_connections = [];
});
let game_mode_dropdown = $('#game_mode_dropdown');
game_mode_dropdown.on('click', (e) => e.stopPropagation());
remote.ipcMain.on('YGOPro', (e: any, type: string) => {
console.log('rrrrr');
this.request_match(type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment