This commit is contained in:
Mirco Wittrien 2019-09-24 10:20:53 +02:00
parent 2a9966cc33
commit 25ff509140
3 changed files with 8 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -2794,6 +2794,11 @@ var BDFDB = {myPlugins: BDFDB && BDFDB.myPlugins ? BDFDB.myPlugins : {}, BDv2Api
setGifFavButton(ele);
};
addInitEventListener(ele, 'click', ele.BDFDBupdateElement);
var id = "FAV_s" + Math.round(Math.random() * 10000000000000000);
addInitEventListener(ele, 'mouseenter', () => {
BDFDB.removeEles(`#${id}_tooltip`);
BDFDB.createTooltip(BDFDB.LanguageStrings[`GIF_TOOLTIP_${BDFDB.containsClass(ele, BDFDB.disCN.giffavoriteselected) ? 'REMOVE_FROM' : 'ADD_TO'}_FAVORITES`], ele, {type:'top', id:id+_tooltip});
});
});
container.querySelectorAll('.file-navigator').forEach(ele => {
ele.BDFDBupdateElement = () => {

View File

@ -142,7 +142,7 @@
<div class="wrapper-25eVIn">
<svg width="48" height="48" viewBox="0 0 48 48" class="svg-1X37T1">
<mask id="DiscordPreviewMask3" fill="black" x="0" y="0" width="48" height="48">
<path d="M0 24C0 16.5449 0 12.8174 1.21793 9.87706C2.84183 5.95662 5.95662 2.84183 9.87706 1.21793C12.8174 0 16.5449 0 24 0C31.4551 0 35.1826 0 38.1229 1.21793C42.0434 2.84183 45.1582 5.95662 46.7821 9.87706C48 12.8174 48 16.5449 48 24C48 31.4551 48 35.1826 46.7821 38.1229C45.1582 42.0434 42.0434 45.1582 38.1229 46.7821C35.1826 48 31.4551 48 24 48C16.5449 48 12.8174 48 9.87706 46.7821C5.95662 45.1582 2.84183 42.0434 1.21793 38.1229C0 35.1826 0 31.4551 0 24Z" fill="white"></rect>
<path d="M0 24C0 16.5449 0 12.8174 1.21793 9.87706C2.84183 5.95662 5.95662 2.84183 9.87706 1.21793C12.8174 0 16.5449 0 24 0C31.4551 0 35.1826 0 38.1229 1.21793C42.0434 2.84183 45.1582 5.95662 46.7821 9.87706C48 12.8174 48 16.5449 48 24C48 31.4551 48 35.1826 46.7821 38.1229C45.1582 42.0434 42.0434 45.1582 38.1229 46.7821C35.1826 48 31.4551 48 24 48C16.5449 48 12.8174 48 9.87706 46.7821C5.95662 45.1582 2.84183 42.0434 1.21793 38.1229C0 35.1826 0 31.4551 0 24Z" fill="white"></path>
<rect x="28" y="-4" width="24" height="24" rx="12" ry="12" transform="translate(0 0)" fill="black"></rect>
<rect x="28" y="28" width="24" height="24" rx="12" ry="12" transform="translate(20 20)" fill="black"></rect>
</mask>
@ -2094,7 +2094,7 @@
</div>
</div>
</div>
<div class="layer-v9HyYc" style="left: 68px; top: 354px;">
<div class="layer-v9HyYc" style="left: 68px; top: 298px;">
<div class="tooltip-2QfLtc tooltipRight-2JM5PQ tooltipBlack-PPG47z">
Selected Server
<div class="tooltipPointer-3ZfirK"></div>