Skip to content

Commit 8c64021

Browse files
authored
Исправлен автофокус
1 parent 798c1f6 commit 8c64021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ad-generator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static function ad_generator_func( $atts ) {
4646
$ad_text = str_replace( '\\"', '"', $ad_text );
4747
$ad_text = str_replace( "\\'", "'", $ad_text );
4848

49-
$result_text .= '<textarea id="ad_text" name="ad_text" cols="80" rows="10" autofocus maxlength="10000" style="width: 100%;" placeholder="' . __( 'Введите шаблон', self::$mydomain ) . '">';
49+
$result_text .= '<textarea id="ad_text" name="ad_text" cols="80" rows="10" maxlength="10000" style="width: 100%;" placeholder="' . __( 'Введите шаблон', self::$mydomain ) . '">';
5050

5151
if ( $ad_text ) {
5252
$result_text .= htmlspecialchars( $ad_text );

0 commit comments

Comments
 (0)