title: $(window).resize() in safari : why it works also if scroll window (but doesn't resize)?
body: <p>i noticed, with safari on my iphone5 that </p>
  
  <pre><code>$(window).resize()
  </code></pre>
  
  <p>it works strangely...</p>
  
  <p>i have this code:</p>
  
  <pre><code>$(document).ready(function () {
   $(window).resize(function() {
       avviaChart();
       initialize();
       if($('#time').is(':checked')){ 
           $("#time").removeAttr('checked');
           $("#Time").css('border','2px solid #ffffff');
       }  
    });   
  });
  </code></pre>
  
  <p>this code should work only when sizes of window change.... 
  with other browser work very good, but with safari the code works also if i scroll the page (and the sizes of window doesn't change)...</p>
  
  <p>HOW IS POSSIBLE ?  O.o</p>