aboutsummaryrefslogtreecommitdiffstats
path: root/public/assets/refinery/core-be2c10d9a54f1fc40c523df655019035.js
blob: 3b1d672db5641bc2d040e5430b024bb427729e93 (plain) (blame)
1
$(document).ready(function(){$("form input[type=text]:first").focus(),init_flash_messages()}),init_flash_messages=function(){$("#flash").css({opacity:0,visibility:"visible"}).animate({opacity:"1"},550),$("#flash_close").on("click",function(i){try{$("#flash").animate({opacity:0,visibility:"hidden"},330,function(){$("#flash").hide()})}catch(s){$("#flash").hide()}i.preventDefault()}),$("#flash.flash_message").prependTo("#records")};