attention bar: optimize

This commit is contained in:
Marcin Łabanowski 2012-12-24 03:54:57 +01:00
parent 9d8ec70d64
commit c1a737d4b4

View File

@ -1,7 +1,7 @@
$(document).ready(function(){
$("#attention_bar").click(function(eO){ $("#attention_bar").css("display","none");
$("#attention_bar_form").css("display","block"); });
$.get("/attentionbar.php", function(data) {
$.get("/attentionbar.txt", function(data) {
$("#attention_bar").text(data);
$("#attention_bar_input").val(data);
});