Team:Aalto-Helsinki/footer

From 2014.igem.org

(Difference between revisions)
Line 99: Line 99:
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
-
if($('.extrabar') != undefined){
+
if($('.extrabar').affix != undefined){
     $('.extrabar').affix({
     $('.extrabar').affix({
         offset: {
         offset: {
Line 108: Line 108:
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
-
   if($('.update') != undefined){
+
   if($('.update').waypoint != undefined){
     $('.update').waypoint(function(direction) {
     $('.update').waypoint(function(direction) {
       var selector = "#" + ($(this)[0].classList[1]) + "-submenu";
       var selector = "#" + ($(this)[0].classList[1]) + "-submenu";

Revision as of 12:58, 10 October 2014