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