parent
0f65ef0e28
commit
3cc4193146
@ -1533,7 +1533,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var richTextarea = composer.richTextareaEl[0];
|
var richTextarea = composer.richTextareaEl && composer.richTextareaEl[0];
|
||||||
if (richTextarea) {
|
if (richTextarea) {
|
||||||
$(richTextarea).on('keydown keyup', updateHeight);
|
$(richTextarea).on('keydown keyup', updateHeight);
|
||||||
}
|
}
|
||||||
|
@ -1116,6 +1116,9 @@ MessageComposer.prototype.onRichPaste = function (e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
MessageComposer.prototype.cleanRichTextarea = function (value, focused) {
|
MessageComposer.prototype.cleanRichTextarea = function (value, focused) {
|
||||||
|
if (!this.richTextareaEl[0]) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (value === undefined) {
|
if (value === undefined) {
|
||||||
value = getRichValue(this.richTextareaEl[0]);
|
value = getRichValue(this.richTextareaEl[0]);
|
||||||
}
|
}
|
||||||
|
@ -2572,21 +2572,18 @@ img.img_fullsize {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Message composer */
|
/* Message composer */
|
||||||
.composer_progress_icon {
|
.composer_progress_icon_wrap {
|
||||||
display: block;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 3px;
|
right: 3px;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
cursor: pointer;
|
|
||||||
padding: 0;
|
|
||||||
|
|
||||||
width: 22px;
|
width: 22px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
|
overflow: hidden;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
transition: opacity cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.2s;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
padding: 0;
|
||||||
|
transition: opacity cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.2s;
|
||||||
.composer_progress_enabled & {
|
.composer_progress_enabled & {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
@ -1249,6 +1249,12 @@ a.im_panel_peer_photo .peer_initials {
|
|||||||
padding-right: 25px;
|
padding-right: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&_progress_icon_wrap {
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&_emoji_insert_btn {
|
&_emoji_insert_btn {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
|
@ -198,7 +198,9 @@
|
|||||||
|
|
||||||
<div class="im_send_field_wrap hasselect" ng-class="historyState.replyKeyboard._ == 'replyKeyboardMarkup' ? 'im_send_field_wrap_2ndbtn' : ''">
|
<div class="im_send_field_wrap hasselect" ng-class="historyState.replyKeyboard._ == 'replyKeyboardMarkup' ? 'im_send_field_wrap_2ndbtn' : ''">
|
||||||
<a class="composer_emoji_insert_btn"><i class="icon icon-emoji"></i></a>
|
<a class="composer_emoji_insert_btn"><i class="icon icon-emoji"></i></a>
|
||||||
<div class="composer_progress_icon" my-arc-progress width="22" stroke="2.5"></div>
|
<div class="composer_progress_icon_wrap">
|
||||||
|
<div class="composer_progress_icon" my-arc-progress width="22" stroke="2.5"></div>
|
||||||
|
</div>
|
||||||
<a class="composer_command_btn" ng-show="!historyState.replyKeyboard && commands.list.length > 0 && (!draftMessage.text.length || draftMessage.text[0] == '/')" ng-mousedown="toggleSlash($event)" ng-class="draftMessage.text[0] == '/' ? 'active' : ''"><i class="icon icon-slash"></i></a>
|
<a class="composer_command_btn" ng-show="!historyState.replyKeyboard && commands.list.length > 0 && (!draftMessage.text.length || draftMessage.text[0] == '/')" ng-mousedown="toggleSlash($event)" ng-class="draftMessage.text[0] == '/' ? 'active' : ''"><i class="icon icon-slash"></i></a>
|
||||||
<a class="composer_keyboard_btn" ng-show="historyState.replyKeyboard._ == 'replyKeyboardMarkup'" ng-mousedown="replyKeyboardToggle($event)" ng-class="!historyState.replyKeyboard.pFlags.hidden ? 'active' : ''"><i class="icon icon-keyboard"></i></a>
|
<a class="composer_keyboard_btn" ng-show="historyState.replyKeyboard._ == 'replyKeyboardMarkup'" ng-mousedown="replyKeyboardToggle($event)" ng-class="!historyState.replyKeyboard.pFlags.hidden ? 'active' : ''"><i class="icon icon-keyboard"></i></a>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user