From 9dc8712890310c20c835457b8fe8f0f540685ac5 Mon Sep 17 00:00:00 2001 From: xypp <2952795729@qq.com> Date: Sat, 12 Dec 2020 17:03:57 +0800 Subject: [PATCH] modified: theme/classic.html Fix the bug that operate menu does not display on IOS safari --- theme/classic.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/theme/classic.html b/theme/classic.html index 7681950..f3806e0 100644 --- a/theme/classic.html +++ b/theme/classic.html @@ -54,6 +54,7 @@ .operate{display:inline-table;margin:0;margin-right:5px;list-style:none} .operate ul{position:absolute;display:none;background:#fffaaa;border:0px #f7f7f7 solid;border-radius:5px;margin:-7px 0 0 0;padding:0 7px;color:#205D67;z-index:1;} .operate:hover ul{position:absolute;display:inline-table;} + body .active ul{position:absolute;display:inline-table;} .operate ul li{padding:7px;list-style:none;display:block;} .list-table tr[data-to]:hover .operate ul li a{color:black} @@ -929,6 +930,21 @@ } uploadbuttonshow(); } + function menu_click(e){ + var ee=document.getElementsByClassName("active"); + for(var i=0;i1024) { num=num/1024;