forked from rDrama/rDrama
fix FP and pusher being triggered inside holes
parent
0060a326d7
commit
a4bf57ae0d
|
@ -173,7 +173,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if PUSHER_ID != 'blahblahblah' and v %}
|
{% if request.path == '/' and PUSHER_ID != 'blahblahblah' and v %}
|
||||||
<div class="d-none" id="strid">{{SITE}}{{v.id}}</div>
|
<div class="d-none" id="strid">{{SITE}}{{v.id}}</div>
|
||||||
<div class="d-none" id="pusherid">{{PUSHER_ID}}</div>
|
<div class="d-none" id="pusherid">{{PUSHER_ID}}</div>
|
||||||
<script defer src="{{'js/pusher.js' | asset}}"></script>
|
<script defer src="{{'js/pusher.js' | asset}}"></script>
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
</style>
|
</style>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if v and FP %}
|
{% if request.path == '/' and v and FP %}
|
||||||
{% if not v.fp %}
|
{% if not v.fp %}
|
||||||
<script>
|
<script>
|
||||||
function fp(fp) {
|
function fp(fp) {
|
||||||
|
|
Loading…
Reference in New Issue