simplify
This commit is contained in:
parent
4fb63dc005
commit
c6d9528c5c
@ -1007,12 +1007,9 @@
|
|||||||
$.append(overlay, dialog);
|
$.append(overlay, dialog);
|
||||||
$.append(d.body, overlay);
|
$.append(d.body, overlay);
|
||||||
options.cb.time.call($('input[name=time]', dialog));
|
options.cb.time.call($('input[name=time]', dialog));
|
||||||
$.bind(overlay, 'click', function() {
|
return $.bind(overlay, 'click', function() {
|
||||||
return $.rm(overlay);
|
return $.rm(overlay);
|
||||||
});
|
});
|
||||||
return $.bind(dialog.firstElementChild, 'click', function(e) {
|
|
||||||
return e.stopPropagation();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
tab: function() {
|
tab: function() {
|
||||||
var content, div, _i, _len, _results;
|
var content, div, _i, _len, _results;
|
||||||
|
|||||||
@ -790,7 +790,6 @@ options =
|
|||||||
options.cb.time.call $('input[name=time]', dialog)
|
options.cb.time.call $('input[name=time]', dialog)
|
||||||
|
|
||||||
$.bind overlay, 'click', -> $.rm overlay
|
$.bind overlay, 'click', -> $.rm overlay
|
||||||
$.bind dialog.firstElementChild, 'click', (e) -> e.stopPropagation()
|
|
||||||
|
|
||||||
tab: ->
|
tab: ->
|
||||||
content = $$ '#main, #flavors, #time'
|
content = $$ '#main, #flavors, #time'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user