diff --git a/hwe/d_setting/templates/allButton.php.orig b/hwe/d_setting/templates/allButton.php.orig index 2c21905a..af1a4562 100644 --- a/hwe/d_setting/templates/allButton.php.orig +++ b/hwe/d_setting/templates/allButton.php.orig @@ -1,22 +1,22 @@
diff --git a/hwe/templates/allButton.php b/hwe/templates/allButton.php index 15e38ac3..af1a4562 100644 --- a/hwe/templates/allButton.php +++ b/hwe/templates/allButton.php @@ -1,13 +1,13 @@ diff --git a/hwe/templates/commandButton.php b/hwe/templates/commandButton.php index e2306d8c..a2770617 100644 --- a/hwe/templates/commandButton.php +++ b/hwe/templates/commandButton.php @@ -8,18 +8,18 @@ - - + + - + - - + + \ No newline at end of file diff --git a/hwe/ts/main.ts b/hwe/ts/main.ts index 1db1c1e5..68bd0e3c 100644 --- a/hwe/ts/main.ts +++ b/hwe/ts/main.ts @@ -192,6 +192,19 @@ $(function ($) { return false; }) + $('.open-window').on('click', function(e){ + e.preventDefault(); + let target = $(e.target as HTMLAnchorElement); + while(target.attr('href') === undefined){ + target = target.parent('a'); + if(target.length == 0){ + return; + } + } + const href = target.attr('href'); + window.open(href); + }); + setInterval(myclock, 500); reloadCommandList(); activateFlip();