Permalink
Browse files

Merge pull request #195 from gtanner/master

HOTFIX to the HOTFIX
  • Loading branch information...
2 parents a4dc5d4 + a64823a commit 33b5346e239e9c587190a31673893284bc40a31b @gtanner gtanner committed Oct 7, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/ripple/bootstrap.js
@@ -40,10 +40,10 @@ function _createFrame(src) {
_bindObjects(frame);
}
}, 1),
- ael = frame.contentWindow.addEventListener;
+ ael = frame.contentWindow.addEventListener,
handlers = [];
- //HACK: This is to get around a bug in webkit where it doesn't seem to
+ //HACK: This is to get around a bug in webkit where it doesn't seem to
// fire the load handlers when we readd the iframe back into the DOM
// https://github.com/blackberry/Ripple-UI/issues/190
frame.contentWindow.addEventListener = function (event, handler) {
@@ -57,7 +57,7 @@ function _createFrame(src) {
frame.fireHandlers = function () {
handlers.forEach(function (handler) {
- return handler && handler();
+ return handler && handler({});
});
};
});

0 comments on commit 33b5346

Please sign in to comment.