Skip to content
This repository was archived by the owner on Mar 15, 2018. It is now read-only.

Commit bcba19b

Browse files
committed
Fix native focus on edit review
1 parent 7b152ae commit bcba19b

File tree

1 file changed

+1
-1
lines changed
  • hearth/media/js/views/app/ratings

1 file changed

+1
-1
lines changed

hearth/media/js/views/app/ratings/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ define('views/app/ratings/edit',
6060
$reviewBox.find('.rating').on('click touchend', function() {
6161
var textarea = document.querySelector('.compose-review textarea:invalid');
6262
if (textarea) {
63-
textarea.trigger('focus');
63+
textarea.focus();
6464
}
6565
});
6666

0 commit comments

Comments
 (0)