Fix element finding.
This commit is contained in:
parent
9fe38b2560
commit
3e287cb7f4
@ -161,8 +161,8 @@ var app = angular.module('accountant', [
|
||||
callback: function() {
|
||||
vm.dialogShown = false;
|
||||
|
||||
var email = angular.element($document.querySelector('#email')).val();
|
||||
var password = angular.element($document.querySelector('#password')).val();
|
||||
var email = angular.element($document[0].querySelector('#email')).val();
|
||||
var password = angular.element($document[0].querySelector('#password')).val();
|
||||
LoginService.login(
|
||||
email, password
|
||||
).then(function(result) {
|
||||
|
Loading…
Reference in New Issue
Block a user