diff --git a/background.html b/background.html
index c3994d233..e4efe99a9 100644
--- a/background.html
+++ b/background.html
@@ -495,7 +495,6 @@
-
diff --git a/background_test.html b/background_test.html
index 8433a9af4..c47e98b62 100644
--- a/background_test.html
+++ b/background_test.html
@@ -495,7 +495,6 @@
-
diff --git a/js/views/connecting_to_server_dialog_view.js b/js/views/connecting_to_server_dialog_view.js
deleted file mode 100644
index b2d800f1b..000000000
--- a/js/views/connecting_to_server_dialog_view.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/* global Whisper, i18n, log */
-
-// eslint-disable-next-line func-names
-(function() {
- 'use strict';
-
- window.Whisper = window.Whisper || {};
-
- Whisper.ConnectingToServerDialogView = Whisper.View.extend({
- templateName: 'connecting-to-server-template',
- className: 'loki-dialog connecting-to-server modal',
- initialize(options = {}) {
- this.title = i18n('connectingLoad');
- this.cancelText = options.cancelText || i18n('cancel');
- this.serverUrl = options.serverUrl;
- this.channelId = options.channelId;
- this.once('attemptConnection', () =>
- this.attemptConnection(options.serverUrl, options.channelId)
- );
- this.render();
- },
- events: {
- keyup: 'onKeyup',
- 'click .cancel': 'close',
- },
- async attemptConnection(serverUrl, channelId) {
- let conversation = null;
- try {
- conversation = await window.attemptConnection(serverUrl, channelId);
- } catch (e) {
- log.error('can not connect', e.message, e.code);
- return this.resolveWith({ errorCode: e.message });
- }
- return this.resolveWith({ conversation });
- },
- resolveWith(result) {
- this.trigger('connectionResult', result);
- this.remove();
- },
- render_attributes() {
- return {
- title: this.title,
- cancel: this.cancelText,
- };
- },
- close() {
- this.trigger('connectionResult', { cancelled: true });
- this.remove();
- },
- onKeyup(event) {
- switch (event.key) {
- case 'Escape':
- case 'Esc':
- this.close();
- break;
- default:
- break;
- }
- },
- });
-})();
diff --git a/test/index.html b/test/index.html
index a779fba6d..b503f8b23 100644
--- a/test/index.html
+++ b/test/index.html
@@ -542,7 +542,6 @@
-