Skip to content

Commit bacc3b7

Browse files
committed
docs(tutorial): make docTutorialReset use a button
It's confusing to have it look like a link that goes to the homepage Closes angular#1473
1 parent 8a1eb16 commit bacc3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app/src/tutorials.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ angular.module('tutorials', [])
3535
'step': '@docTutorialReset'
3636
},
3737
template:
38-
'<p><a href="https://github.com/%3C/span%3E" ng-click="show=!show;$event.stopPropagation()">Workspace Reset Instructions ➤</a></p>\n' +
38+
'<p><button class="btn" ng-click="show=!show">Workspace Reset Instructions ➤</button></p>\n' +
3939
'<div class="alert alert-info" ng-show="show">\n' +
4040
' <p>Reset the workspace to step {{step}}.</p>' +
4141
' <p><pre>git checkout -f step-{{step}}</pre></p>\n' +

0 commit comments

Comments
 (0)