moved stylesheets and javascripts to assets
This commit is contained in:
13
app/assets/javascripts/users.js
Normal file
13
app/assets/javascripts/users.js
Normal file
@@ -0,0 +1,13 @@
|
||||
$(document).ready(function() {
|
||||
$("footer.nav-links a").click(function(event) {
|
||||
$("div.users div.new > div").hide();
|
||||
$(event.target.hash).show();
|
||||
});
|
||||
|
||||
if (Danbooru.meta("errors")) {
|
||||
$("#p1").hide();
|
||||
$("#notice").hide();
|
||||
} else {
|
||||
$("#p2").hide();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user