forked from rDrama/rDrama
1
0
Fork 0

fix samsung browser

master
Aevann1 2022-09-03 21:19:18 +02:00
parent 5d704a2cb2
commit 8f4236a294
1 changed files with 1 additions and 1 deletions

View File

@ -953,7 +953,7 @@
<div id="viewmore-{{offset}}"><button id="viewbtn" class="btn btn-primary" onclick="viewmore({{pid}},'{{sort}}',{{offset}},{{ids}})">VIEW MORE COMMENTS</a></div>
{% endif %}
{% if SITE_NAME == 'rDrama' and not request.headers.get("xhr") and v %}
{% if SITE_NAME == 'rDrama' and not request.headers.get("xhr") and v and 'SamsungBrowser' not in g.agent %}
<div id="detection" style="display:none;background-color:canvas;color-scheme:light"></div>
<script>
const detectionDiv = document.querySelector('#detection');