mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge branch 'zz911-master'
This commit is contained in:
4
js/angular/service/popover.js
vendored
4
js/angular/service/popover.js
vendored
@@ -202,7 +202,7 @@ function($ionicModal, $ionicPosition, $document, $window) {
|
||||
* controller (ionicPopover is built on top of $ionicPopover).
|
||||
*/
|
||||
fromTemplate: function(templateString, options) {
|
||||
return $ionicModal.fromTemplate(templateString, ionic.Utils.extend(options || {}, POPOVER_OPTIONS) );
|
||||
return $ionicModal.fromTemplate(templateString, ionic.Utils.extend(POPOVER_OPTIONS, options || {}) );
|
||||
},
|
||||
/**
|
||||
* @ngdoc method
|
||||
@@ -213,7 +213,7 @@ function($ionicModal, $ionicPosition, $document, $window) {
|
||||
* an {@link ionic.controller:ionicPopover} controller (ionicPopover is built on top of $ionicPopover).
|
||||
*/
|
||||
fromTemplateUrl: function(url, options, _) {
|
||||
return $ionicModal.fromTemplateUrl(url, options, ionic.Utils.extend(options || {}, POPOVER_OPTIONS) );
|
||||
return $ionicModal.fromTemplateUrl(url, options, ionic.Utils.extend(POPOVER_OPTIONS, options || {}) );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user