|
|
@@ -438,23 +438,7 @@ function ResetCamera() {
|
|
|
myGameInstance.SendMessage("MainCamera", "ResetCamera");
|
|
|
}
|
|
|
|
|
|
-$(".monitor").on('click', function(){
|
|
|
- let option = $(this).attr("monitor");
|
|
|
- isAll = true;
|
|
|
- isCompare = false;
|
|
|
- passString(option);
|
|
|
- document.getElementById("monitorName").innerHTML = option + "監測儀器";
|
|
|
- if (lastNode != null) {
|
|
|
- lastNode.style = "color:#abb4be;";
|
|
|
- }
|
|
|
- document.getElementById("errorCheck").checked = false;
|
|
|
- document.getElementById("compareCheck").checked = false;
|
|
|
|
|
|
- lastNode = document.getElementById(option).parentNode;
|
|
|
- lastNode.style = "color:#0088cc;";
|
|
|
-
|
|
|
- LoadPage();
|
|
|
-});
|
|
|
|
|
|
function SetList() {
|
|
|
var wellNameListsLocal = "";
|
|
|
@@ -1258,4 +1242,24 @@ function reset() {
|
|
|
table.className = "display";
|
|
|
//table.style.width = "100%";
|
|
|
myNode.appendChild(table);
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+$(document).ready(function() {
|
|
|
+ $(".monitor").on('click', function() {
|
|
|
+ let option = $(this).attr("monitor");
|
|
|
+ isAll = true;
|
|
|
+ isCompare = false;
|
|
|
+ passString(option);
|
|
|
+ document.getElementById("monitorName").innerHTML = option + "監測儀器";
|
|
|
+ if (lastNode != null) {
|
|
|
+ lastNode.style = "color:#abb4be;";
|
|
|
+ }
|
|
|
+ document.getElementById("errorCheck").checked = false;
|
|
|
+ document.getElementById("compareCheck").checked = false;
|
|
|
+
|
|
|
+ lastNode = document.getElementById(option).parentNode;
|
|
|
+ lastNode.style = "color:#0088cc;";
|
|
|
+
|
|
|
+ LoadPage();
|
|
|
+ });
|
|
|
+})
|