Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused name_getter variable in GeoJsonPopup template. #1347

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove unused name variable.
  • Loading branch information
jtbaker committed Jun 4, 2020
commit 5a1dbe7fc6dced314d1c13a33db436b4ac618903
1 change: 0 additions & 1 deletion folium/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,6 @@ class GeoJsonPopup(GeoJsonDetail):

_template = Template(u"""
{% macro script(this, kwargs) %}
let name_getter = '{{this._parent.get_name()}}';
{{ this._parent.get_name() }}.bindPopup(""" + GeoJsonDetail.base_template +
u""",{{ this.popup_options | tojson | safe }});
{% endmacro %}
Expand Down