Trivial updates
parent
cd70d97d44
commit
d499fa8af2
|
@ -21,7 +21,7 @@
|
|||
</li>
|
||||
|
||||
<li class="nav-item" role="presentation">
|
||||
<button class="nav-link" id="home-tab" data-bs-toggle="tab" data-bs-target="#home-tab-pane" type="button" role="tab" aria-controls="home-tab-pane" aria-selected="false">偏好設定</button>
|
||||
<button class="nav-link" id="home-tab" data-bs-toggle="tab" data-bs-target="#home-tab-pane" type="button" role="tab" aria-controls="home-tab-pane" aria-selected="false" onclick="home_tab_clicked();">偏好設定</button>
|
||||
</li>
|
||||
|
||||
<li class="nav-item" role="presentation">
|
||||
|
|
|
@ -235,6 +235,7 @@ function maxbot_reset_api()
|
|||
settings = data;
|
||||
load_settins_to_form(data);
|
||||
check_unsaved_fields();
|
||||
run_message("已重設為預設值");
|
||||
})
|
||||
.fail(function() {
|
||||
//alert( "error" );
|
||||
|
@ -699,3 +700,8 @@ function run_message(msg)
|
|||
message.innerText = '';
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
function home_tab_clicked() {
|
||||
console.log("clicked");
|
||||
document.getElementById("homepage").focus();
|
||||
}
|
Loading…
Reference in New Issue