Remove spaces from dropdown content

merge-requests/30/head
Bob Mottram 2020-11-04 10:01:53 +00:00
parent 60067cc894
commit c37f3ca16f
1 changed files with 15 additions and 15 deletions

View File

@ -2859,23 +2859,23 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
dropDownContent = '' dropDownContent = ''
if not reportUrl: if not reportUrl:
dropDownContent += "<div class='msgscope-collapse collapse " dropDownContent += "<div class='msgscope-collapse collapse "
dropDownContent += "right desktoponly' id='msgscope'>\n" dropDownContent += "right desktoponly' id='msgscope'>"
dropDownContent += " <ul class='nav msgscope-nav msgscope-right'>\n" dropDownContent += "<ul class='nav msgscope-nav msgscope-right'>"
dropDownContent += " <li class=' ' style='position: relative;'>\n" dropDownContent += "<li style='position: relative;'>"
dropDownContent += " <div class='toggle-msgScope button-msgScope'>\n" dropDownContent += "<div class='toggle-msgScope button-msgScope'>"
dropDownContent += " <input id='toggleMsgScope' " dropDownContent += "<input id='toggleMsgScope' "
dropDownContent += "name='toggleMsgScope' type='checkbox'/>\n" dropDownContent += "name='toggleMsgScope' type='checkbox'/>"
dropDownContent += " <label for='toggleMsgScope'>\n" dropDownContent += "<label for='toggleMsgScope'>"
dropDownContent += " <div class='lined-thin'>\n" dropDownContent += "<div class='lined-thin'>"
dropDownContent += ' <img loading="lazy" alt="" title="" src="/' dropDownContent += '<img loading="lazy" alt="" title="" src="/'
dropDownContent += iconsDir + '/' + scopeIcon dropDownContent += iconsDir + '/' + scopeIcon
dropDownContent += '"/><b class="scope-desc">' dropDownContent += '"/><b class="scope-desc">'
dropDownContent += scopeDescription + '</b>\n' dropDownContent += scopeDescription + '</b>'
dropDownContent += " <span class='caret'/>\n" dropDownContent += "<span class='caret'/>"
dropDownContent += " </div>\n" dropDownContent += "</div>"
dropDownContent += " </label>\n" dropDownContent += "</label>"
dropDownContent += " <div class='toggle-inside'>\n" dropDownContent += "<div class='toggle-inside'>"
dropDownContent += " <ul aria-labelledby='dropdownMsgScope' " dropDownContent += "<ul aria-labelledby='dropdownMsgScope' "
dropDownContent += "class='dropdown-menutoggle'>" dropDownContent += "class='dropdown-menutoggle'>"
if showPublicOnDropdown: if showPublicOnDropdown: