mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-07 09:27:18 +02:00
Remove dynamic option
This commit is contained in:
@@ -54,15 +54,7 @@
|
||||
<td>
|
||||
<input type="radio" name="minimizeType" id="minMeth1" value="1" />
|
||||
<label for="minMeth1" id="minimizemethod1label"
|
||||
>__MSG_windows_min_to_tray_1__</label
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="minimizemethod2">
|
||||
<td>
|
||||
<input type="radio" name="minimizeType" id="minMeth2" value="2" />
|
||||
<label for="minMeth2" id="minimizemethod2label"
|
||||
>__MSG_windows_min_to_tray_2__</label
|
||||
>__MSG_windows_min_to_tray__</label
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -344,11 +344,11 @@ SysTrayX.RestoreOptions = {
|
||||
|
||||
// Tweak option for platform
|
||||
// if (platformInfo.os === "win") {
|
||||
document.getElementById("minimizemethod1label").innerHTML =
|
||||
"Minimize to tray";
|
||||
document
|
||||
.getElementById("minimizemethod2")
|
||||
.setAttribute("style", "display:none;");
|
||||
// document.getElementById("minimizemethod1label").innerHTML =
|
||||
// "Minimize to tray";
|
||||
// document
|
||||
// .getElementById("minimizemethod2")
|
||||
// .setAttribute("style", "display:none;");
|
||||
|
||||
if (minimizeType === "2") {
|
||||
minimizeType = "1";
|
||||
|
||||
Reference in New Issue
Block a user