Skip to content

Commit

Permalink
removed flickering google code
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldbullard committed Apr 17, 2014
1 parent 5e17c71 commit ea4e87d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions catalog/admin/templates/default/general.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,16 +382,6 @@
};
$("h1").fitText();

// defeat Google Chrome form autofill and its yellow background
if(navigator.userAgent.toLowerCase().indexOf("chrome") >= 0 || navigator.userAgent.toLowerCase().indexOf("safari") >= 0){
window.setInterval(function(){
jQuery('input:-webkit-autofill').each(function(){
var clone = $(this).clone(true, true);
$(this).after(clone).remove();
});
}, 20);
}

$("#profileLoader").hide();
$("#profileInner").fadeTo(1000, 1);

Expand Down

0 comments on commit ea4e87d

Please sign in to comment.