Browse Source

make writing message in RTL languages easier

master
behrooz shabani (everplays) 10 years ago
parent
commit
69e90ea075
  1. 1
      app/js/directives.js

1
app/js/directives.js

@ -1075,6 +1075,7 @@ angular.module('myApp.directives', ['myApp.filters']) @@ -1075,6 +1075,7 @@ angular.module('myApp.directives', ['myApp.filters'])
if (richTextarea) {
editorElement = richTextarea;
$(richTextarea).addClass('form-control');
$(richTextarea).attr('dir', 'auto');
$(richTextarea).attr('placeholder', $interpolate($(messageField).attr('placeholder'))($scope));
var updatePromise;

Loading…
Cancel
Save