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);
updateAppUnreadCounter();
}
};
}
});

3
app/ux/WebView.js

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

2
app/view/main/MainController.js

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

Loading…
Cancel
Save