fix parent metatag search

This commit is contained in:
albert
2011-11-01 18:39:25 -04:00
parent 71da9cbc4c
commit 1a435419c7
8 changed files with 15 additions and 20 deletions

View File

@@ -1,10 +0,0 @@
(function() {
Danbooru.Dmail = {};
Danbooru.Dmail.initialize_all = function() {
}
})();
$(document).ready(function() {
Danbooru.Dmail.initialize_all();
});

View File

@@ -1,3 +0,0 @@
(function() {
Danbooru.ForumPost = {};
})();

View File

@@ -392,7 +392,7 @@ Danbooru.Note = {
start: function() {
$("#original-file-link").click();
$("#image").one("click", Danbooru.Note.TranslationMode.create_note);
Danbooru.notice("Click on the image to create a note (shortcut is ctrl+a)");
Danbooru.notice("Click on the image to create a note (shortcut is n)");
},
stop: function() {
@@ -474,8 +474,7 @@ Danbooru.Note = {
$(function() {
if ($("#c-posts #a-show").size() > 0) {
$("#translate").one("click", Danbooru.Note.TranslationMode.start);
// $("#note-container").width($("#image").width()).height($("#image").height());
$(document).bind("keydown", "ctrl+a", Danbooru.Note.TranslationMode.start);
$(document).bind("keydown", "n", Danbooru.Note.TranslationMode.start);
Danbooru.Note.load_all();
$("#image").click(Danbooru.Note.Box.toggle_all);
}

View File

@@ -1,2 +0,0 @@
$(function() {
});

View File

@@ -1 +0,0 @@