From f82cdbdecea3d21a7ea9de1421e2bd3a58796c34 Mon Sep 17 00:00:00 2001 From: Grant Eagon Date: Fri, 13 Apr 2018 10:45:39 -0400 Subject: [PATCH] make extended options work again --- src/toastr.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/toastr.js b/src/toastr.js index 24b126c..8f0b950 100644 --- a/src/toastr.js +++ b/src/toastr.js @@ -154,6 +154,9 @@ function _notify(map) { var options = _getOptions(); + if (map.optionsOverride) { + options = angular.extend({}, options, map.optionsOverride); + } if (shouldExit()) { return; }