Demo entry 5051845

test

   

Submitted by anonymous on Jun 01, 2016 at 23:08
Language: JavaScript. Code size: 124 Bytes.

$('#myModal').on('show.bs.modal', function (e) {
  if (!data) return e.preventDefault() // stops modal from being shown
})

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).