Skip to content

Commit

Permalink
Disable modal on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Merrill committed Apr 9, 2013
1 parent 2670c9d commit 5ee23e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/javascripts/public/public.js.coffee
Expand Up @@ -44,10 +44,15 @@ $ ->
breakpoint: "handheld"
enter: ->
$('.content-block h2').fitText(1.1)
$('.modal-btn').unbind()

jRes.addFunc
breakpoint: "tablet"
enter: ->
$('.modal-btn').click (e) ->
modal = $(this).attr('href')
$(modal).modal('show')
#($(this).attr('href')).modal('show')
#Page Scroller Plugin
$("body").pageScroller
navigation: ".nav"
Expand Down

0 comments on commit 5ee23e1

Please sign in to comment.