-
-
Save DariaUshaeva/aa1a677a0eb79856c145ec0e4264a42a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message.tpl b/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message.tpl | |
index 0622dd7798..b35a1b022b 100644 | |
--- a/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message.tpl | |
+++ b/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message.tpl | |
@@ -30,7 +30,6 @@ | |
message_title=__("product_reviews.advantages") | |
id="product_review_advantages_{$product_id}" | |
name="product_review_data[advantages]" | |
- autofocus=$is_advanced | |
} | |
{include file="addons/product_reviews/views/product_reviews/components/new_product_review_message_field.tpl" | |
@@ -46,7 +45,6 @@ | |
id="product_review_comment_{$product_id}" | |
name="product_review_data[comment]" | |
required=$is_advanced | |
- autofocus=!$is_advanced | |
} | |
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message_field.tpl b/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message_field.tpl | |
index 240ad91e3f..a43d66a389 100644 | |
--- a/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message_field.tpl | |
+++ b/design/themes/responsive/templates/addons/product_reviews/views/product_reviews/components/new_product_review_message_field.tpl | |
@@ -24,8 +24,5 @@ | |
placeholder="{$message_title nofilter}" | |
title="{$message_title nofilter}" | |
{/if} | |
- {if $autofocus} | |
- autofocus | |
- {/if} | |
></textarea> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment