blob: d226cc5ff56331a696aee822e6648296aab0c3fa [file] [log] [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
const centerContainer = document.getElementById('centerContainer');
const errorContainer = document.getElementById('errorContainer');
const supplementaryIcon = document.getElementById('$i18n{supplementary_icon}');
if (supplementaryIcon !== null && supplementaryIcon.id === 'offlineIcon') {
centerContainer.append(errorContainer);
supplementaryIcon.style.display = 'inline';
} else {
errorContainer.classList.add('center-bottom');
}