Team:ETH Zurich/labblog/buttons
From 2014.igem.org
(Difference between revisions)
Line 33: | Line 33: | ||
var newWidth = $(window).width(), | var newWidth = $(window).width(), | ||
newHeight = $(window).height(); | newHeight = $(window).height(); | ||
- | if (!(newWidth | + | if (!(newWidth < curWidth || |
- | newHeight | + | newHeight < curHeight)) { |
resize(false); | resize(false); | ||
} | } |
Revision as of 21:40, 7 October 2014