MCPcopy Index your code
hub / github.com/angular-app/angular-app / close

Function close

client/src/common/directives/modal.js:47–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 function close() {
48 if (opts.escape) { body.unbind('keyup', escapeClose); }
49 if (opts.backdrop) {
50 backdropEl.css('display', 'none').removeClass('in');
51 backdropEl.unbind('click', clickClose);
52 }
53 elm.css('display', 'none').removeClass('in');
54 body.removeClass('modal-open');
55 }
56 function open() {
57 if (opts.escape) { body.bind('keyup', escapeClose); }
58 if (opts.backdrop) {

Callers 1

modal.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected