Closed shreydesai closed 8 years ago
Added the following to document.ready()
- on each click, the dialog will be closed, similar to what happens in the _closeInterestDialog
function. An additional remove()
method is added to ensure the element is removed from the DOM.
// closes dialog box on click (iOS patch)
$(this).click(function() {
$('.interest-dialog').each(function(i, dialog) {
dialog.close();
$(this).remove();
});
});
Did you mean to delete the branch & close the request?
Yeah, there were some issues with this branch. I'm going to send in another pull request once I fix the merge conflicts with the develop
branch.
Wrote a function called
closeInterestDialog()
that closes the interest dialog box and applied to the_on---Click
functions. Tested on the Xcode iPhone 6S simulator and it seems to work.