Skip to content

Commit f533a65

Browse files
committed
typo
1 parent f2cc8fc commit f533a65

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/js/inline-translation.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inline-translation/lib/popover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ function getInputForm( translationPair ) {
182182

183183
function exposeOtherOriginals( form, translationPair ) {
184184
var search, i;
185-
form.find( 'p.other-originals' ).css( 'display', 'block' );
186185
if ( translationPair.getOtherOriginals().length ) {
186+
form.find( 'p.other-originals' ).css( 'display', 'block' );
187187
search = translationPair.getOriginal().getSingular();
188188
for ( i = 0; i < translationPair.getOtherOriginals().length; i++ ) {
189189
search += ' || ' + translationPair.getOtherOriginals()[ i ];

0 commit comments

Comments
 (0)