0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 15:23:29 -05:00

Fix pasting plain text when not first item

This commit is contained in:
Neil Jenkins 2016-11-21 10:59:44 +11:00
parent 0b72f29ce5
commit 801388222d
3 changed files with 3 additions and 3 deletions

View file

@ -2263,7 +2263,7 @@ var onPaste = function ( event ) {
}); });
} }
} else if ( plainItem ) { } else if ( plainItem ) {
item.getAsString( function ( text ) { plainItem.getAsString( function ( text ) {
self.insertPlainText( text, true ); self.insertPlainText( text, true );
}); });
} }

File diff suppressed because one or more lines are too long

View file

@ -138,7 +138,7 @@ var onPaste = function ( event ) {
}); });
} }
} else if ( plainItem ) { } else if ( plainItem ) {
item.getAsString( function ( text ) { plainItem.getAsString( function ( text ) {
self.insertPlainText( text, true ); self.insertPlainText( text, true );
}); });
} }