mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-06-27 16:10:28 +08:00
append a 'submit again' link to the list of posts
This commit is contained in:
@@ -178,6 +178,7 @@ ol[data-commentspage="true"] button.cancel {
|
||||
letter-spacing:-1px;
|
||||
line-height:29px;
|
||||
height:29px;
|
||||
margin: 5px 0 0 62px;
|
||||
}
|
||||
.morelink:hover, .mlh {
|
||||
border-color:#879eb4;
|
||||
|
||||
+9
-5
@@ -1184,15 +1184,19 @@ Popup.prototype.createListHTML = function (url) {
|
||||
listHTML += '</form>';
|
||||
listHTML += '</li>';
|
||||
});
|
||||
|
||||
listHTML += '</ol>'
|
||||
|
||||
|
||||
listHTML += '</ol>';
|
||||
listHTML += '<div class="morelink">';
|
||||
listHTML += '<a onclick="popup.replaceWithSubmitForm()">' + chrome.i18n.getMessage('submit_again') + '</a>';
|
||||
listHTML += '<div class="nub"></div>';
|
||||
listHTML += '</div>';
|
||||
|
||||
if (staleCounter > 0) {
|
||||
listHTML += '<div id="information">' + chrome.i18n.getMessage('stale_posts_hiding', staleCounter.toString()) + '</div>';
|
||||
}
|
||||
|
||||
|
||||
return listHTML;
|
||||
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user