summaryrefslogtreecommitdiff
path: root/chromium/components/management/resources/management.js
blob: 7d9c64745d605e2d28f30dac6c4cd1c7c84869c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

document.addEventListener('DOMContentLoaded', function() {
  if (isManaged()) {
    $('managed-info').classList.remove('hidden');
  } else {
    $('unmanaged-info').classList.remove('hidden');
  }
});