Browse Source

Compat fixes

master
Igor Zhukov 8 years ago
parent
commit
1e06f171bb
  1. 3
      app/js/lib/ng_utils.js
  2. 6
      app/partials/desktop/im.html

3
app/js/lib/ng_utils.js

@ -2092,6 +2092,9 @@ angular.module('izhukov.utils', [])
} }
function setUpServiceWorkerChannel() { function setUpServiceWorkerChannel() {
if (!isAvailable) {
return
}
navigator.serviceWorker.addEventListener('message', function(event) { navigator.serviceWorker.addEventListener('message', function(event) {
if (event.data && if (event.data &&
event.data.type == 'push_click') { event.data.type == 'push_click') {

6
app/partials/desktop/im.html

@ -238,9 +238,9 @@
</div> </div>
<div class="im_send_buttons_wrap clearfix"> <div class="im_send_buttons_wrap clearfix">
<button type="submit" class="btn btn-md im_submit nocopy" ng-class="draftMessage.type == 'edit' ? 'im_submit_edit' : 'im_submit_send'"> <button type="submit" class="btn btn-md im_submit" ng-class="draftMessage.type == 'edit' ? 'im_submit_edit' : 'im_submit_send'">
<span class="im_submit_send_label" my-i18n="im_submit_message"></span> <span class="im_submit_send_label nocopy" my-i18n="im_submit_message"></span>
<span class="im_submit_edit_label" my-i18n="im_submit_edit_message"></span> <span class="im_submit_edit_label nocopy" my-i18n="im_submit_edit_message"></span>
</button> </button>
<div class="im_attach pull-left"> <div class="im_attach pull-left">

Loading…
Cancel
Save