# fluent-booking/2.2.5/assets/admin/global_admin.js

Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution, version 2.2.5. 2 lines.

- Page: https://pluginprobe.com/plugins/fluent-booking/2.2.5/code/assets/admin/global_admin.js
- Raw: https://pluginprobe.com/plugins/fluent-booking/2.2.5/raw/assets/admin/global_admin.js
- Modified: 2026-08-21T15:57:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-booking/2.2.5/code/assets/admin/global_admin.js#L10-L20`.

```javascript
(function(){"use strict";jQuery(document).ready(function(e){jQuery(".update-nag,.notice, #wpbody-content > .updated, #wpbody-content > .error").remove()});function n(){const e=document.getElementById("wpbody-content");if(!e)return;localStorage.getItem("fcal_color_mode")==="dark"?(e.classList.add("dark"),document.documentElement.classList.add("dark")):(e.classList.remove("dark"),document.documentElement.classList.remove("dark"))}window.toggleMobileMenu=function(){const e=document.getElementById("fcal_mobile_menu_list");e==null||e.style.setProperty("display",e.style.display==="flex"?"none":"flex")},window.toggleColorMode=function(){const e=document.getElementById("wpbody-content");if(!e)return;const t=e.classList.contains("dark");e.classList.toggle("dark",!t),document.documentElement.classList.toggle("dark",!t),localStorage.setItem("fcal_color_mode",t?"light":"dark")};function o(){const e=parseInt(document.getElementById("fcal_server_timestamp").getAttribute("data-timestamp"),10),t=new Date(e*1e3),s=t.getUTCFullYear()+"-"+("0"+(t.getUTCMonth()+1)).slice(-2)+"-"+("0"+t.getUTCDate()).slice(-2)+" "+("0"+(t.getUTCHours()%12||12)).slice(-2)+":"+("0"+t.getUTCMinutes()).slice(-2)+(t.getUTCHours()<12?" am":" pm");document.getElementById("fcal_server_timestamp").textContent="Server Time: "+s,document.getElementById("fcal_server_timestamp").setAttribute("data-timestamp",e+60)}n(),o(),setInterval(o,6e4)})();

```
