JanStevens / angular-growl-2

growl-like notifications for angularJS projects
MIT License
285 stars 97 forks source link

improper calculation of message params #7

Closed nebulaszlonemethi closed 10 years ago

nebulaszlonemethi commented 10 years ago

growlFactory.js, ~line 163: enableHtml: _config.enableHtml || _enableHtml

The intention is supposed to be, being able to override the global provider properties per messages - the way above it is not proper (if either is true, the result is true). The proper way is: enableHtml: _config.enableHtml===undefined ? _enableHtml : _config.enableHtml,

JanStevens commented 10 years ago

thanks, will be fixed soon!