]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
default settings fallback for alert.js 3841/head
authortomasz stryjewski <stryjewski.t@gmail.com>
Mon, 9 Dec 2013 14:20:46 +0000 (15:20 +0100)
committertomasz stryjewski <stryjewski.t@gmail.com>
Mon, 9 Dec 2013 14:20:46 +0000 (15:20 +0100)
commit5c3276546b5b191eedafe1530bef1b5bae157969
treec692043b8e067b596d2352b8e3e551ef70388892
parent52334abd04dc74090ebdd1b1c965cc5f07629f15
default settings fallback for alert.js

when adding alert boxes dynamically, the settings option on the alert-box is empty and throws an error when trying to close the alert-box.

this change allows to fall back to default settings, which otherwise are not accessible
js/foundation/foundation.alert.js