Skip to content

Commit

Permalink
Changed <a> to <button> to preserve hash
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidTimms committed Jun 21, 2013
1 parent 0d92b71 commit 0583051
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions static/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ <h1>{{chat_name}}</h1>
<form class="chat-box"ng-submit="sendMessage()">
<textarea id="message_textarea" ng-show="my_username" ng-model="message_text"></textarea>
<input type="submit" value="send" class="btn" ng-show="my_username" />
<a href="#username_modal" class="btn btn-large" ng-hide="locked || my_username" data-toggle="modal">
<button data-target="#username_modal" class="btn btn-large" ng-hide="locked || my_username" data-toggle="modal">
Join the conversation
</a>
</button>
</form>
</div>
<!-- Username Modal -->
Expand All @@ -77,7 +77,7 @@ <h3>Set Username</h3>
</div>
<div class="modal-footer">
<i class="icon-loading" ng-show="join_loading"></i>
<a href="#" class="btn btn-inverse" ng-disabled="join_loading" ng-click="setUsername()">Join</a>
<button class="btn btn-inverse" ng-disabled="join_loading" ng-click="setUsername()">Join</button>
</div>
</div>

Expand All @@ -91,8 +91,8 @@ <h3>{{confirm_modal.title}}</h3>
{{confirm_modal.message}}
</div>
<div class="modal-footer">
<a href="#" class="btn" ng-click="confirm_modal.respond(false)">No</a>
<a href="#" class="btn btn-inverse" ng-click="confirm_modal.respond(true)">Yes</a>
<button href="#" class="btn" ng-click="confirm_modal.respond(false)">No</button>
<button href="#" class="btn btn-inverse" ng-click="confirm_modal.respond(true)">Yes</button>
</div>
</div>
</div>
Expand Down

0 comments on commit 0583051

Please sign in to comment.