Sha256: c7e454603d65813b4a6f04555d869e010771bf9d22b20225b1106831bdc3e3ab

Contents?: true

Size: 581 Bytes

Versions: 21

Compression:

Stored size: 581 Bytes

Contents

#= require bootstrap.min

$(document).ready ->
  
  $(".modal-dialog").modal({backdrop: true, keyboard: true, show: false, static: false})
  
  $(".btn.disabled").on "click", (e) ->
    e.stopPropagation()
    false

  ($ "a[data-toggle=modal]").live 'click', ->
    target = ($ @).attr('data-target')
    url = ($ @).attr('href')
    if url != "#"
      ($ target).load(url)


  $("[data-dismiss='modal']").live 'click', ->
    ($ @).closest('.modal').modal('hide')

  $("[data-toggle='popover']").popover()
  $("[data-toggle='tooltip']").tooltip()
   
  $('.carousel').carousel()

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fullstack-admin-0.1.54 app/assets/javascripts/support/bootstrap.js.coffee