php - Bug in chrome after photo upload -


link http://invait.ru/collectivegift_template1.php

browser chrome

i following:

1) go on link http://invait.ru/collectivegift_template1.php

2) choose image

step 2

3) when showing image crop, click on without crop area

step3

and page scrolls down.

tell me please how stop bug in chrome?

code jscrop here

p.s.: firefox doesn't have bug...

p.p.s.: please if want click on downvote tell mme answer. think aboout problem 2 days...

find part of code in jscrop.js:

  function watchkeys() //{{{   {     if (options.keysupport) {       $keymgr.show();       $keymgr.focus();     }   }   //}}} 

and remove line:

      $keymgr.focus(); 

it found on line 1238 in file. tell me if fixes things.

this remove keys functionality. please take @ discussion: http://code.google.com/p/jcrop/issues/detail?id=39#c4 if need keys functionality, try changing fixed absolute on line 1224:

var $keymgr = $('<input type="radio" />').css({         position: 'fixed' 

and roll previous change


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -