Skip to content

Commit 67d3b32

Browse files
committed
Fix test and update URL
1 parent 2803dec commit 67d3b32

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

folium/plugins/scroll_zoom_toggler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self):
3636
3737
{% macro html(this,kwargs) %}
3838
<img id="{{this.get_name()}}" alt="scroll"
39-
src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/1.5.2/png/512/arrow-move.png"
39+
src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/png/512/arrow-move.png"
4040
style="z-index: 999999"
4141
onclick="{{this._parent.get_name()}}.toggleScroll()">
4242
</img>

tests/plugins/test_scroll_zoom_toggler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ def test_scroll_zoom_toggler():
2121
# Verify that the div has been created.
2222
tmpl = Template("""
2323
<img id="{{this.get_name()}}" alt="scroll"
24-
src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/1.5.2/png/512/arrow-move.png"
24+
src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/png/512/arrow-move.png"
25+
style="z-index: 999999"
2526
onclick="{{this._parent.get_name()}}.toggleScroll()"></img>
2627
""")
2728
assert ''.join(tmpl.render(this=szt).split()) in ''.join(out.split())

0 commit comments

Comments
 (0)