Quellcode durchsuchen

spelling mistake

Abram Connelly vor 6 Jahren
Ursprung
Commit
d3b392f41c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      busunit/DIUv2/html/js/diu_ui-ORG.js

+ 1 - 1
busunit/DIUv2/html/js/diu_ui-ORG.js

@@ -711,7 +711,7 @@ function _main_message_replace(msg, bg_color, text_color) {
 function _main_message_add(msg, bg_color, text_color) {
   var ele = document.getElementById("ui_main_status");
 
-  bg_color = ((typeof bg_color === "undeinfed") ? BG_COLOR : bg_color);
+  bg_color = ((typeof bg_color === "undefined") ? BG_COLOR : bg_color);
   text_color = ((typeof text_color === "undefined") ? TEXT_COLOR : text_color);
 
   var txt = g_ctx.status_text + "\n" + msg;