diff --git a/src/static/js/pad_automatic_reconnect.js b/src/static/js/pad_automatic_reconnect.js index b5b99bcd..65e7bc0c 100644 --- a/src/static/js/pad_automatic_reconnect.js +++ b/src/static/js/pad_automatic_reconnect.js @@ -21,11 +21,21 @@ var createCountDownElementsIfNecessary = function($modal) { var $reconnectButton = $modal.find('#forcereconnect'); // create extra DOM elements, if they don't exist - var $reconnectTimerMessage = $('

\ - Trying to reconnect in \ - \ -

'); - var $cancelReconnect = $(''); + const $reconnectTimerMessage = + $('

') + .addClass('reconnecttimer') + .append( + $('') + .attr('data-l10n-id', 'pad.modals.reconnecttimer') + .text('Trying to reconnect in ')) + .append( + $('') + .addClass('timetoexpire')); + const $cancelReconnect = + $('