Skip to content

Commit 548c7c8

Browse files
committed
fix map on click func not found error
1 parent b76d921 commit 548c7c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NaverMaps/directive/ng-naver-map/ng-naver-map.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
}
4040
NgNaverMap.getMap().then(function(oMap) {
4141
oMap.attach('click', function() {
42+
if(scope.onClick){
4243
scope.onClick();
44+
}
4345
});
4446
});
4547
}]

0 commit comments

Comments
 (0)