mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-06-27 16:10:28 +08:00
add the subreddit title as the title in the subreddit list :-)
This commit is contained in:
+1
-1
@@ -1196,7 +1196,7 @@ Popup.prototype.createSubmitForm = function (tab) {
|
||||
submitHTML += '<strong id="your_label">' + chrome.i18n.getMessage('popular_choices') + '</strong>';
|
||||
submitHTML += '<ul id="your_reddits">';
|
||||
for (var i = 0; i < redditCache.length; i++) {
|
||||
submitHTML += '<li><a onclick="document.getElementById(\'submit_reddit\').value=\'' + redditCache[i].data.display_name + '\'">' + redditCache[i].data.display_name + '</a></li>';
|
||||
submitHTML += '<li><a title="' + redditCache[i].data.title + '" onclick="document.getElementById(\'submit_reddit\').value=\'' + redditCache[i].data.display_name + '\'">' + redditCache[i].data.display_name + '</a></li>';
|
||||
}
|
||||
submitHTML += '</ul>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user