1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 07:30:10 +01:00

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(){ $(document).ready(function(){
$("#attention_bar").click(function(eO){ $("#attention_bar").css("display","none"); $("#attention_bar").click(function(eO){ $("#attention_bar").css("display","none");
$("#attention_bar_form").css("display","block"); }); $("#attention_bar_form").css("display","block"); });
$.get("/attentionbar.php", function(data) { $.get("/attentionbar.txt", function(data) {
$("#attention_bar").text(data); $("#attention_bar").text(data);
$("#attention_bar_input").val(data); $("#attention_bar_input").val(data);
}); });