more js to lib/shimmie.js
This commit is contained in:
@ -45,6 +45,14 @@ $(document).ready(function() {
|
||||
|
||||
$("#commentBox").DefaultValue("Comment");
|
||||
$("#tagBox").DefaultValue("tagme");
|
||||
|
||||
if(document.location.hash.length > 3) {
|
||||
query = document.location.hash.substring(1);
|
||||
a = document.getElementById(\"prevlink\");
|
||||
a.href = a.href + '?' + query;
|
||||
a = document.getElementById(\"nextlink\");
|
||||
a.href = a.href + '?' + query;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user