Skip to content

Commit 2803dec

Browse files
committed
Fixes #532
1 parent 91b32f2 commit 2803dec

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

folium/plugins/scroll_zoom_toggler.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ def __init__(self):
3535
{% endmacro %}
3636
3737
{% macro html(this,kwargs) %}
38-
<img id="{{this.get_name()}}" alt="scroll"
39-
src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/1.5.2/png/512/arrow-move.png"
40-
onclick="{{this._parent.get_name()}}.toggleScroll()"></img>
38+
<img id="{{this.get_name()}}" alt="scroll"
39+
src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/1.5.2/png/512/arrow-move.png"
40+
style="z-index: 999999"
41+
onclick="{{this._parent.get_name()}}.toggleScroll()">
42+
</img>
4143
{% endmacro %}
4244
4345
{% macro script(this,kwargs) %}

0 commit comments

Comments
 (0)