Commit 7ae86b09 authored by mercury233's avatar mercury233

test fix dropdown menu

parent edbbcd32
...@@ -232,6 +232,7 @@ form { ...@@ -232,6 +232,7 @@ form {
max-width: 120px; max-width: 120px;
} }
#game-list td.extra span,
#game-replay-watch td.extra span { #game-replay-watch td.extra span {
border: 1px solid #AAA; border: 1px solid #AAA;
border-radius: 3px; border-radius: 3px;
......
...@@ -388,8 +388,7 @@ export class YGOProComponent implements OnInit, OnDestroy { ...@@ -388,8 +388,7 @@ export class YGOProComponent implements OnInit, OnDestroy {
this.replay_connections = []; this.replay_connections = [];
}); });
let game_mode_dropdown = $('#game_mode_dropdown'); $(document).on('click', '#game_mode_dropdown', (e) => e.stopPropagation());
game_mode_dropdown.on('click', (e) => e.stopPropagation());
remote.ipcMain.on('YGOPro', (e: any, type: string) => { remote.ipcMain.on('YGOPro', (e: any, type: string) => {
console.log('rrrrr'); console.log('rrrrr');
......
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