{% import _self as self %} {% macro childNodes(nodes) %} {% import _self as self %} {% endmacro %} {% set hasChildren = false %} {% if hasChildren %} {% do this.jQuery('#' ~ containerId ~ ' .level1.has_child > a', 'doubleTapToGo') %} {% endif %}