Permalink
Browse files

deploy javascript change for speaker modal

  • Loading branch information...
1 parent 5ee23e1 commit cbe423791581c3d8203c7d247ebaaf6a8f297ca1 @agilous agilous committed Apr 9, 2013
Showing with 14 additions and 2 deletions.
  1. +7 −1 build/javascripts/public.js
  2. +7 −1 build/javascripts/public/public.js
@@ -27402,12 +27402,18 @@ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a
jRes.addFunc({
breakpoint: "handheld",
enter: function() {
- return $('.content-block h2').fitText(1.1);
+ $('.content-block h2').fitText(1.1);
+ return $('.modal-btn').unbind();
}
});
jRes.addFunc({
breakpoint: "tablet",
enter: function() {
+ $('.modal-btn').click(function(e) {
+ var modal;
+ modal = $(this).attr('href');
+ return $(modal).modal('show');
+ });
return $("body").pageScroller({
navigation: ".nav",
scrollOffset: -80
@@ -52,12 +52,18 @@
jRes.addFunc({
breakpoint: "handheld",
enter: function() {
- return $('.content-block h2').fitText(1.1);
+ $('.content-block h2').fitText(1.1);
+ return $('.modal-btn').unbind();
}
});
jRes.addFunc({
breakpoint: "tablet",
enter: function() {
+ $('.modal-btn').click(function(e) {
+ var modal;
+ modal = $(this).attr('href');
+ return $(modal).modal('show');
+ });
return $("body").pageScroller({
navigation: ".nav",
scrollOffset: -80

0 comments on commit cbe4237

Please sign in to comment.