more jquery magic, less inline scripting
This commit is contained in:
@ -29,7 +29,7 @@ $(document).ready(function() {
|
||||
$("time").timeago();
|
||||
|
||||
$('.search_input').DefaultValue('Search');
|
||||
$('.tag_autocomplete').autocomplete(base_href + '/api/internal/tag_list/complete', {
|
||||
$('.autocomplete_tags').autocomplete(base_href + '/api/internal/tag_list/complete', {
|
||||
width: 320,
|
||||
max: 15,
|
||||
highlight: false,
|
||||
@ -43,9 +43,6 @@ $(document).ready(function() {
|
||||
var sections=get_sections();
|
||||
for(var i=0;i<sections.length;i++) toggle(sections[i]);
|
||||
|
||||
$("#commentBox").DefaultValue("Comment");
|
||||
$("#tagBox").DefaultValue("tagme");
|
||||
|
||||
if(document.location.hash.length > 3) {
|
||||
query = document.location.hash.substring(1);
|
||||
a = document.getElementById(\"prevlink\");
|
||||
|
Reference in New Issue
Block a user