mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
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 resizeTimer;
|
||||||
var portsInUse = [];
|
var portsInUse = [];
|
||||||
var startupSearch = "<?=$_GET['search']?>";
|
var startupSearch = "<?=$_GET['search']?>";
|
||||||
|
var iconHoverTimer;
|
||||||
|
|
||||||
|
|
||||||
$(function(){
|
$(function(){
|
||||||
@ -682,14 +683,13 @@ $(function(){
|
|||||||
removeApp(path,name);
|
removeApp(path,name);
|
||||||
});
|
});
|
||||||
|
|
||||||
var iconHoverTimer;
|
|
||||||
$("body").on("mouseover",".ca_displayIcon,.infoButton,.displayIcon,.card_readmore",function() {
|
$("body").on("mouseover",".ca_displayIcon,.infoButton,.displayIcon,.card_readmore",function() {
|
||||||
var icon = this;
|
var icon = this;
|
||||||
iconHoverTimer = setTimeout(function() {
|
iconHoverTimer = setTimeout(function() {
|
||||||
icon.click();
|
icon.click();
|
||||||
},3000);
|
},3000);
|
||||||
});
|
});
|
||||||
$("body").on("mouseout",".ca_displayIcon,.infoButton,displayIcon,.card_readmore",function() {
|
$("body").on("mouseout",".ca_displayIcon,.infoButton,.displayIcon,.card_readmore",function() {
|
||||||
clearTimeout(iconHoverTimer);
|
clearTimeout(iconHoverTimer);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1149,7 +1149,6 @@ function installPlugin(pluginURL,update=false,comment="",requires="") {
|
|||||||
actuallyInstallPlugin(pluginURL,update,comment);
|
actuallyInstallPlugin(pluginURL,update,comment);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function actuallyInstallPlugin(pluginURL,update=false,comment="") {
|
function actuallyInstallPlugin(pluginURL,update=false,comment="") {
|
||||||
type = update ? "update" : "install";
|
type = update ? "update" : "install";
|
||||||
title = update ? "<?tr("Update Plugin")?>" : "<?tr("Install Plugin")?>";
|
title = update ? "<?tr("Update Plugin")?>" : "<?tr("Install Plugin")?>";
|
||||||
@ -2591,6 +2590,7 @@ function popUpChart(descData) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showSidebarApp(apppath,appname) {
|
function showSidebarApp(apppath,appname) {
|
||||||
|
clearTimeout(iconHoverTimer);
|
||||||
$.cookie("sidebarAppPath",apppath,{path:"/;SameSite=Lax"});
|
$.cookie("sidebarAppPath",apppath,{path:"/;SameSite=Lax"});
|
||||||
$.cookie("sidebarAppName",appname,{path:"/;SameSite=Lax"});
|
$.cookie("sidebarAppName",appname,{path:"/;SameSite=Lax"});
|
||||||
data.sidebarapppath = apppath;
|
data.sidebarapppath = apppath;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
7e275d5cac72b90e52f4cf3372385b30 ./Apps.page
|
3a103ac3e46d0f151a8582b1600add82 ./Apps.page
|
||||||
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
4e55f7483b661af21a25b677179baffe ./CA_notices.page
|
||||||
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
42a1658a916a3a3eed2a9f2af80603c4 ./ca_settings.page
|
||||||
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
e718d7825dbdc96a17a915079222b098 ./default.cfg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user