forked from rDrama/rDrama
master
parent
5859d6a591
commit
1f99bb0aa6
|
@ -845,7 +845,7 @@
|
|||
<div id="viewmore-{{offset}}"><button type="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 and 'SamsungBrowser' not in g.agent and not v.background %}
|
||||
{% if SITE_NAME == 'rDrama' and not request.headers.get("xhr") and v and 'SamsungBrowser' not in g.agent and not displaying_bg %}
|
||||
<div id="detection" style="display:none;background-color:canvas;color-scheme:light"></div>
|
||||
<script>
|
||||
const detectionDiv = document.querySelector('#detection');
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{% block pagetitle %}@{{u.username}}'s profile{% endblock %}
|
||||
{% block head_final %}
|
||||
{% if u and u.profile_background %}
|
||||
{% set displaying_bg = True %}
|
||||
<link rel="stylesheet" href="{{('css/transparent.css') | asset}}">
|
||||
<style>
|
||||
body {
|
||||
|
|
|
@ -180,6 +180,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if background %}
|
||||
{% set displaying_bg = True %}
|
||||
<link rel="stylesheet" href="{{('css/transparent.css') | asset}}">
|
||||
<style>
|
||||
body {
|
||||
|
|
Loading…
Reference in New Issue