You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-26 22:13:53 +01:00
new chat window, bugfixes, component update
This commit is contained in:
@@ -2,7 +2,6 @@ $(document).ready(function() {
|
||||
// Cache jQuery objects for reuse
|
||||
var modal = $("#myModal");
|
||||
var modalPanel = $(".modal-panel");
|
||||
var chatPanel = $(".modal-panel-chat");
|
||||
var openBtn = $("#settings");
|
||||
var closeBtn = $(".closeModal, .closeModalButton");
|
||||
|
||||
@@ -20,7 +19,6 @@ $(document).ready(function() {
|
||||
modal.css("opacity", 0);
|
||||
setTimeout(function() {
|
||||
modal.css("display", "none");
|
||||
modalPanel.add(chatPanel).css("display", "none");
|
||||
$("body").removeClass("modal-open"); // Enable body scrolling
|
||||
}, 300);
|
||||
}
|
||||
@@ -30,10 +28,6 @@ $(document).ready(function() {
|
||||
openModal(modalPanel);
|
||||
});
|
||||
|
||||
$(".chatbutton").on("click", function() {
|
||||
openModal(chatPanel);
|
||||
});
|
||||
|
||||
closeBtn.on("click", closeModal);
|
||||
|
||||
// Close the modal when clicking outside of it
|
||||
|
||||
Reference in New Issue
Block a user