Skip to content

Commit

Permalink
Issue webcompat#131. Update classname to hide extension download link…
Browse files Browse the repository at this point in the history
… on webcompat.com.
  • Loading branch information
laghee committed Jul 14, 2018
1 parent d9d5c04 commit 5039161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/content.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// add a class to hide the download link when the add-on is installed.
document.querySelector(".js-Navbar-link").classList.add("is-hidden");

document.querySelector(".js-addon-link").classList.add("is-hidden");

0 comments on commit 5039161

Please sign in to comment.