clicking fontawesome icon would still wind up re-opening sidebar
This commit is contained in:
parent
0639fe8a71
commit
4a1cd7e65b
Binary file not shown.
|
@ -173,6 +173,7 @@ var unRaidFontSize = $("html").css("font-size").replace("px","");
|
|||
var resizeTimer;
|
||||
var portsInUse = [];
|
||||
var startupSearch = "<?=$_GET['search']?>";
|
||||
var iconHoverTimer;
|
||||
|
||||
|
||||
$(function(){
|
||||
|
@ -682,14 +683,13 @@ $(function(){
|
|||
removeApp(path,name);
|
||||
});
|
||||
|
||||
var iconHoverTimer;
|
||||
$("body").on("mouseover",".ca_displayIcon,.infoButton,.displayIcon,.card_readmore",function() {
|
||||
var icon = this;
|
||||
iconHoverTimer = setTimeout(function() {
|
||||
icon.click();
|
||||
},3000);
|
||||
});
|
||||
$("body").on("mouseout",".ca_displayIcon,.infoButton,displayIcon,.card_readmore",function() {
|
||||
$("body").on("mouseout",".ca_displayIcon,.infoButton,.displayIcon,.card_readmore",function() {
|
||||
clearTimeout(iconHoverTimer);
|
||||
});
|
||||
|
||||
|
@ -1149,7 +1149,6 @@ function installPlugin(pluginURL,update=false,comment="",requires="") {
|
|||
actuallyInstallPlugin(pluginURL,update,comment);
|
||||
}
|
||||
}
|
||||
|
||||
function actuallyInstallPlugin(pluginURL,update=false,comment="") {
|
||||
type = update ? "update" : "install";
|
||||
title = update ? "<?tr("Update Plugin")?>" : "<?tr("Install Plugin")?>";
|
||||
|
@ -2591,6 +2590,7 @@ function popUpChart(descData) {
|
|||
}
|
||||
|
||||
function showSidebarApp(apppath,appname) {
|
||||
clearTimeout(iconHoverTimer);
|
||||
$.cookie("sidebarAppPath",apppath,{path:"/;SameSite=Lax"});
|
||||
$.cookie("sidebarAppName",appname,{path:"/;SameSite=Lax"});
|
||||
data.sidebarapppath = apppath;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
7e275d5cac72b90e52f4cf3372385b30 ./Apps.page
|
||||
3a103ac3e46d0f151a8582b1600add82 ./Apps.page
|
||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||
|
|
Loading…
Reference in New Issue
Block a user