diff --git a/app/views/users/_returnTop_btn.html.erb b/app/views/users/_returnTop_btn.html.erb index 45144399..9a3c7c32 100644 --- a/app/views/users/_returnTop_btn.html.erb +++ b/app/views/users/_returnTop_btn.html.erb @@ -54,8 +54,8 @@ } else { trophy_uid = false } - - if(trophy_uid==="true"){ + + if(trophy_uid==="true"||trophy_uid===true){ $("#trophyreturn").hide() }