From 54b52d681cf1025fa256d5b61ff136e31e2a04f3 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 12 Jun 2018 15:50:41 +0200 Subject: [PATCH] fix broken share menu resulting from adblock plus triggered by 'share' --- customize.dist/src/less2/include/toolbar.less | 4 ++++ www/common/toolbar3.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index 602868fe4..ad696382f 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -22,6 +22,10 @@ @toolbar_top-height: 64px; @toolbar_button-font: @colortheme_app-font; + // if we spell 'share' correctly, then adblock plus hides the share button + // this is a workaround + .fa-shhare-alt:before { content: "\f1e0"; } + .dropdown_main(); .ckeditor_fix(); .history_main(); diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index 7b9e1abaf..35fce658d 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -420,7 +420,7 @@ define([ var hashes = metadataMgr.getPrivateData().availableHashes; var $shareBlock = $('