Sha256: 964fd91c87c3f08ab466b9d6634cf157cc822e1af9de752adb593a5122f04ded

Contents?: true

Size: 576 Bytes

Versions: 25

Compression:

Stored size: 576 Bytes

Contents

#= require bootstrap

$(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

25 entries across 25 versions & 1 rubygems

Version Path
fullstack-admin-0.1.27 app/assets/javascripts/support/bootstrap.js.coffee
fullstack-admin-0.1.26 app/assets/javascripts/support/bootstrap.js.coffee
fullstack-admin-0.1.25 app/assets/javascripts/support/bootstrap.js.coffee
fullstack-admin-0.1.24 app/assets/javascripts/support/bootstrap.js.coffee
fullstack-admin-0.1.23 app/assets/javascripts/support/bootstrap.js.coffee