From e8c798477f8e7660975d1798b39011a4cbec10b3 Mon Sep 17 00:00:00 2001 From: silas Date: Tue, 13 Nov 2018 10:27:36 +0100 Subject: [PATCH] =?UTF-8?q?=C3=9F=20wird=20nicht=20mehr=20zu=20SS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/app.js | 2 +- src/module/Application/pwa/js/wordrotator/Level/Level.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index 3481ae6..a127d94 100755 --- a/public/js/app.js +++ b/public/js/app.js @@ -6028,7 +6028,7 @@ class Level { { this.words = []; for (let i = 0, n = words.length; i < n; i++) { - this.words.push(words[i].toUpperCase()); + this.words.push(words[i].replace(/ß/g, "ẞ").toUpperCase()); } } diff --git a/src/module/Application/pwa/js/wordrotator/Level/Level.js b/src/module/Application/pwa/js/wordrotator/Level/Level.js index 29c8b89..ec83c86 100755 --- a/src/module/Application/pwa/js/wordrotator/Level/Level.js +++ b/src/module/Application/pwa/js/wordrotator/Level/Level.js @@ -82,7 +82,7 @@ export class Level { { this.words = []; for (let i = 0, n = words.length; i < n; i++) { - this.words.push(words[i].toUpperCase()); + this.words.push(words[i].replace(/ß/g, "ẞ").toUpperCase()); } }