Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unused code

Marcin Gębala13b9b2fc3171
diff --git a/saleor/order/templates/order/payment/default.html b/saleor/order/templates/order/payment/default.html
index be96924d82..4dd1d129bc 100644
--- a/saleor/order/templates/order/payment/default.html
+++ b/saleor/order/templates/order/payment/default.html
@@ -17,11 +17,6 @@
</button>
</div>
</form>
- {% if "TermUrl" in form.fields %}
- <script>
- document.getElementById('payment-form').submit();
- </script>
- {% endif %}
</div>
</div>
</div>