diff --git a/data/conf/sogo/custom-sogo.js b/data/conf/sogo/custom-sogo.js
index 0f1d5d3426..e794372f0e 100644
--- a/data/conf/sogo/custom-sogo.js
+++ b/data/conf/sogo/custom-sogo.js
@@ -32,18 +32,16 @@ document.addEventListener('DOMContentLoaded', function () {
return false;
}
function mcElementsExists() {
- if (document.getElementById("mc_logout"))
+ if (document.getElementById("mc_backlink"))
return true;
else
return false;
}
function addMCElements() {
const toolbarElement = document.body.querySelector('.md-toolbar-tools.sg-toolbar-group-last.layout-align-end-center.layout-row');
- var htmlCode = '' +
+ var htmlCode = '' +
'