mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Revert "added temporary label for logo"
This reverts commit b5c7bc3185.
This commit is contained in:
parent
b78ec996ec
commit
9f6583fbb1
@ -1,6 +1,4 @@
|
||||
define([
|
||||
'/customize/messages.js'
|
||||
], function (Messages) {
|
||||
(function () {
|
||||
var logoPath = '/customize/CryptPad_logo.svg';
|
||||
if (location.pathname === '/' || location.pathname === '/index.html') {
|
||||
logoPath = '/customize/CryptPad_logo_hero.svg';
|
||||
@ -8,10 +6,9 @@ if (location.pathname === '/' || location.pathname === '/index.html') {
|
||||
|
||||
var elem = document.createElement('div');
|
||||
elem.setAttribute('id', 'placeholder');
|
||||
Messages.label_logo = "CryptPad logo"; // XXX Logo
|
||||
elem.innerHTML = [
|
||||
'<div class="placeholder-logo-container">',
|
||||
'<img class="placeholder-logo" alt="' + Messages.label_logo + '" src="' + logoPath + '">',
|
||||
'<img class="placeholder-logo" alt="CryptPad Logo" src="' + logoPath + '">',
|
||||
'</div>',
|
||||
'<div class="placeholder-message-container">',
|
||||
'<p>Loading...</p>',
|
||||
@ -58,4 +55,4 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
} catch (e) {}
|
||||
}, 3000);
|
||||
});
|
||||
});
|
||||
}());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user