Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Remove modal overlay if it's removable. #11

Merged
merged 3 commits into from
Mar 21, 2014
Merged

Conversation

fatihacet
Copy link
Contributor

No description provided.

@@ -167,7 +167,7 @@ module.exports = class KDModalView extends KDView
putOverlay:->
isRemovable = @getOptions().overlayClick
@overlay = new KDOverlayView { isRemovable }
@overlay.once "click", => @destroy()
@overlay.once "click", => @destroy() if isRemovable
Copy link
Member

Choose a reason for hiding this comment

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

@overlay.once "click", @bound 'destroy' if isRemovable

sinan added a commit that referenced this pull request Mar 21, 2014
Remove modal overlay if it's removable.
@sinan sinan merged commit a80c6c6 into master Mar 21, 2014
@sinan sinan deleted the master.modal-overlay-fix branch March 21, 2014 19:51
tetsuo added a commit that referenced this pull request Apr 20, 2015
SplitView: Don't try to resize if there is no panel.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants