Commit 46b860bdb36df02cc3a99ceea9b69e95f9e6e389
Fix repo dig button
Charles Lehner committed on 4/12/2016, 6:56:50 PMParent: 1ba0ea701968920d00242b73ce3b017bbcffec28
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -1116,9 +1116,9 @@ | ||
1116 | 1116 | cb(null, serveTemplate(repo.id)(cat([ |
1117 | 1117 | pull.once( |
1118 | 1118 | '<div class="repo-title">' + |
1119 | 1119 | '<form class="right-bar" action="" method="post">' + |
1120 | - '<button class="btn" ' + | |
1120 | + '<button class="btn" name="vote" ' + | |
1121 | 1121 | (isPublic ? 'disabled="disabled"' : ' type="submit"') + '>' + |
1122 | 1122 | '<i>✌</i> ' + (!isPublic && upvoted ? 'Undig' : 'Dig') + |
1123 | 1123 | '</button>' + |
1124 | 1124 | (isPublic ? '' : '<input type="hidden" name="value" value="' + |
Built with git-ssb-web