Skip to content

Commit

Permalink
chore: disable carbon in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Apr 5, 2019
1 parent be670f0 commit d8a8617
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/CarbonAd.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<script>
export default {
mounted () {
if (process.env.NODE_ENV === 'development') return
this.load()
document.addEventListener('visibilitychange', () => {
if (!document.hidden) {
Expand Down

0 comments on commit d8a8617

Please sign in to comment.