This commit is contained in:
Hugh Rundle 2022-07-17 16:19:55 +10:00
parent bec2943aad
commit c48ddf419d

View file

@ -224,7 +224,6 @@
text: "{% trans 'Choose who can see your post here. Post privacy can be <strong>Public</strong> (everyone can see), <strong>Unlisted</strong> (everyone can see, but it doesn\'t appear in public feeds or discovery pages), <strong>Followers</strong> (only your followers can see), or <strong>Private</strong> (only you can see)' %}", text: "{% trans 'Choose who can see your post here. Post privacy can be <strong>Public</strong> (everyone can see), <strong>Unlisted</strong> (everyone can see, but it doesn\'t appear in public feeds or discovery pages), <strong>Followers</strong> (only your followers can see), or <strong>Private</strong> (only you can see)' %}",
title: "{% trans 'Post privacy' %}", title: "{% trans 'Post privacy' %}",
attachTo: { attachTo: {
// TODO:
element: "[id^=form_review] [id^=privacy_]", element: "[id^=form_review] [id^=privacy_]",
on: "left", on: "left",
}, },
@ -277,7 +276,6 @@
element: () => { element: () => {
let menu = document.querySelector('#navbar-dropdown') let menu = document.querySelector('#navbar-dropdown')
let display = window.getComputedStyle(menu).display; let display = window.getComputedStyle(menu).display;
console.log(display)
return display == 'flex' ? '#navbar-dropdown' : '.navbar-burger'; return display == 'flex' ? '#navbar-dropdown' : '.navbar-burger';
}, },
on: "left-end", on: "left-end",