Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Commit 38f3ef1

Browse files
committed
Fixed type
1 parent 2e4eb62 commit 38f3ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/angularJsOAuth2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
var tpl = '<p class="navbar-btn"><a class="{{buttonClass}}" ng-click="signedIn ? signOut() : signIn()"><span href="#" ng-hide="signedIn">{{signInText}}</span><span href="#" ng-show="signedIn">{{signOutText}}</span></a></p>';
341341
if (scope.template) {
342342
$http.get(scope.template, { cache: $templateCache }).then(function(templateResult) {
343-
element.html(r.templateResult);
343+
element.html(templateResult.data);
344344
$compile(element.contents())(scope);
345345
});
346346
} else {

0 commit comments

Comments
 (0)