git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 2ed1c23f authored by Jonas Haraldsson's avatar Jonas Haraldsson

prevent form submit in player when adding tag

parent fb37e478
......@@ -175,11 +175,9 @@ function playerReady() {
$('#close_tag').on('click', toggleTag);
$('#close_tag').hide();
$('#tag_button').on('click', tag);
$('#tags').keyup(function(event) {
if(event.keyCode == 13) {
tag();
}
$('#tag_input').on('submit', function(event) {
event.preventDefault();
tag();
});
$('#tag_input').hide();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment