From 87c55fafb84a5ec56bbcfbffe3f0e03770c04fbb Mon Sep 17 00:00:00 2001
From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de>
Date: Fri, 11 Mar 2022 16:33:55 +0100
Subject: [PATCH] Revert "Biest 748"

This reverts commit 5386216296ab62d0d8dc447bac9240caf7943e2f.
---
 resources/assets/javascripts/lib/jsupdater.js | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/resources/assets/javascripts/lib/jsupdater.js b/resources/assets/javascripts/lib/jsupdater.js
index 6946fb87779..cb75540eaa4 100644
--- a/resources/assets/javascripts/lib/jsupdater.js
+++ b/resources/assets/javascripts/lib/jsupdater.js
@@ -174,11 +174,6 @@ function poll(forced) {
                     $(this).dialog('close');
                 };
 
-                var dialogwidth = '50%';
-                if ($('html').is('.responsive-display')) {
-                    dialogwidth = '85%';
-                }
-
                 $('<div>')
                     .html(message)
                     .css({
@@ -186,13 +181,11 @@ function poll(forced) {
                         padding: '2em 0'
                     })
                     .dialog({
-                        width: dialogwidth,
+                        width: '50%',
                         modal: true,
                         buttons: buttons,
                         title: $gettext('Sie sind nicht mehr im System angemeldet.')
                     });
-
-                $('.ui-dialog-title').css('white-space', 'unset');
             } else {
                 registerNextPoll();
             }
-- 
GitLab