Skip to content

Commit 9577c1f

Browse files
committed
Don't steal focus on videopress thump update
1 parent 213f36e commit 9577c1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/extensions/VideoPressExtensions.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fun AztecText.updateVideoPressThumb(thumbURL: String, videoURL: String, videoPre
2424
}
2525
}
2626
post {
27-
refreshText()
27+
refreshText(false)
2828
}
2929
}
3030

@@ -41,4 +41,4 @@ fun AztecText.updateVideoPressThumb(thumbURL: String, videoURL: String, videoPre
4141
}
4242
}
4343
imageGetter?.loadImage(thumbURL, callbacks, this.maxImagesWidth, this.minImagesWidth)
44-
}
44+
}

0 commit comments

Comments
 (0)