Skip to content

Commit

Permalink
Fixes #61: Consistenly use switchParagraphDirection
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalroz committed Jul 1, 2022
1 parent e37a4ff commit 6394977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chrome/content/bidimailui-composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ BiDiMailUI.Composition = {
);
},

SwitchParagraphDirection : function() {
switchParagraphDirection : function() {
BiDiMailUI.Composition.applyDirectionSetterToSelectionBlockElements(
function(oldDirection) { return (oldDirection == "rtl" ? "ltr" : "rtl"); }
);
Expand Down Expand Up @@ -1031,7 +1031,7 @@ BiDiMailUI.Composition = {
#ifdef DEBUG_keypress
console.log('SWITCHING paragraph');
#endif
BiDiMailUI.Composition.SwitchParagraphDirection();
BiDiMailUI.Composition.switchParagraphDirection();
}
else {
#ifdef DEBUG_keypress
Expand Down

0 comments on commit 6394977

Please sign in to comment.