Use unicode characters for forward/backward buttons, not images

This commit is contained in:
Bryan Housel
2015-10-22 16:11:36 -04:00
parent 06c0816e03
commit 9f6f49bcb9
+2 -4
View File
@@ -77,8 +77,7 @@ iD.ui.Help = function(context) {
.on('click', function() {
clickHelp(docs[i - 1], i - 1);
});
prevLink.append('span').attr('class', 'icon back blue');
prevLink.append('span').html(docs[i - 1].title);
prevLink.append('span').html('◄ ' + docs[i - 1].title);
}
if (i < docs.length - 1) {
var nextLink = nav.append('a')
@@ -86,8 +85,7 @@ iD.ui.Help = function(context) {
.on('click', function() {
clickHelp(docs[i + 1], i + 1);
});
nextLink.append('span').html(docs[i + 1].title);
nextLink.append('span').attr('class', 'icon forward blue');
nextLink.append('span').html(docs[i + 1].title + ' &#9658;');
}
}