Skip to content

Commit

Permalink
Merge pull request blackberry#195 from gtanner/master
Browse files Browse the repository at this point in the history
HOTFIX to the HOTFIX
  • Loading branch information
gtanner committed Oct 7, 2011
2 parents a4dc5d4 + a64823a commit 33b5346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ripple/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -57,7 +57,7 @@ function _createFrame(src) {

frame.fireHandlers = function () {
handlers.forEach(function (handler) {
return handler && handler();
return handler && handler({});
});
};
});
Expand Down

0 comments on commit 33b5346

Please sign in to comment.