Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal javascript fix and doc update #255

Closed
wants to merge 5 commits into from
Closed

Modal javascript fix and doc update #255

wants to merge 5 commits into from

Conversation

dmyers
Copy link

@dmyers dmyers commented Sep 19, 2011

Fixed a few things I had trouble with on the modals when looking at docs

@@ -56,13 +56,15 @@
this.settings = $.extend({}, $.fn.modal.defaults)
this.$element = $(content)
.delegate('.close', 'click.modal', $.proxy(this.hide, this))

if ( !options ) {
options = {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think this is neccesary.

$.extend({foo: 'bar'}, null) // seems to work fine

@dmyers
Copy link
Author

dmyers commented Sep 29, 2011

Not sure how those other commits got in there, a bit new to Github pull requests. What should I do? I'd love to have contributed to this awesome project.

@fat
Copy link
Member

fat commented Sep 30, 2011

Those got there because you sent a pull request from your master branch rather than having a feature branch. Not a big deal though - git can be tricky

@fat fat closed this in 87d9343 Sep 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants