Browse Source

Fix other linting errors. No lint makes for easier development.

pull/3202/head
TheGoddessInari 7 years ago
parent
commit
9b9ab1e8e1
  1. 2
      app/util/UnreadCounter.js
  2. 3
      app/ux/WebView.js
  3. 2
      app/view/main/MainController.js

2
app/util/UnreadCounter.js

@ -70,6 +70,6 @@ Ext.define('Rambox.util.UnreadCounter', {
unreadCountByService['delete'](id); unreadCountByService['delete'](id);
updateAppUnreadCounter(); updateAppUnreadCounter();
} };
} }
}); });

3
app/ux/WebView.js

@ -31,7 +31,7 @@ Ext.define('Rambox.ux.WebView',{
pathname: match[5], pathname: match[5],
search: match[6], search: match[6],
hash: match[7] hash: match[7]
} };
} }
// Allow Custom sites with self certificates // Allow Custom sites with self certificates
@ -386,7 +386,6 @@ Ext.define('Rambox.ux.WebView',{
require('electron').shell.openExternal(e.url); require('electron').shell.openExternal(e.url);
} }
return; return;
break;
default: default:
break; break;
} }

2
app/view/main/MainController.js

@ -486,7 +486,7 @@ Ext.define('Rambox.view.main.MainController', {
Ext.cq1('app-main').getViewModel().set('avatar', ''); Ext.cq1('app-main').getViewModel().set('avatar', '');
if ( Ext.isFunction(callback) ) callback(); if ( Ext.isFunction(callback) ) callback();
} };
if ( btn ) { if ( btn ) {
Ext.Msg.confirm(locale['app.main[21]'], locale['app.window[38]'], function(btnId) { Ext.Msg.confirm(locale['app.main[21]'], locale['app.window[38]'], function(btnId) {

Loading…
Cancel
Save