mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Login button entfernt
This commit is contained in:
parent
8974da062c
commit
1734b8bfd6
4 changed files with 0 additions and 51 deletions
|
@ -17,18 +17,3 @@
|
|||
//= require_tree .
|
||||
|
||||
$(function(){ $(document).foundation(); });
|
||||
|
||||
$('[data-persona-login]').click(function(e) {
|
||||
e.preventDefault();
|
||||
navigator.id.get(function(assertion) {
|
||||
if (assertion) {
|
||||
if (assertion) {
|
||||
var form = $('#browser-id-form');
|
||||
form.find('input[name=assertion]').val(assertion);
|
||||
form.submit();
|
||||
} else {
|
||||
// TODO: Handle failure
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue