Skip to content

Commit

Permalink
Fix $.fn.tooltip.noConflict is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Jul 7, 2022
1 parent ffbf72e commit 07a564e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Eccube/Resource/template/admin/Product/product.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ file that was distributed with this source code.
{% form_theme form '@admin/Form/bootstrap_4_horizontal_layout.html.twig' %}

{% block javascript %}
<script>var bootstrapTooltip = $.fn.tooltip.noConflict();</script>
<script>
$.fn.tooltip = bootstrapTooltip;
$(function() {
{% if has_class == false %}
if ($("#{{ form.class.stock_unlimited.vars.id }}").prop("checked")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ file that was distributed with this source code.
{% form_theme form '@admin/Form/bootstrap_4_horizontal_layout.html.twig' %}

{% block javascript %}
<script>var bootstrapTooltip = $.fn.tooltip.noConflict();</script>
<script>
$.fn.tooltip = bootstrapTooltip;
$(document).on('drop dragover', function(e) {
e.preventDefault();
});
Expand Down

0 comments on commit 07a564e

Please sign in to comment.