fixes #269
This commit is contained in:
@@ -176,7 +176,6 @@ Danbooru.Note = {
|
||||
$note_body.css({width: $note_body.width() + 5});
|
||||
}
|
||||
|
||||
console.log("left=%d width=%d", $image.offset().left, $image.width());
|
||||
if ($note_body.offset().left + $note_body.width() > doc_width) {
|
||||
$note_body.css({
|
||||
left: $note_body.position().left - 10 - ($note_body.offset().left + $note_body.width() - doc_width)
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
Danbooru.Pool.initialize_add_to_pool_link = function() {
|
||||
$("#add-to-pool-dialog").dialog({autoOpen: false});
|
||||
|
||||
$("#c-pools-posts #a-new input[type=text]").autocomplete({
|
||||
$("#c-pool-elements #a-new input[type=text]").autocomplete({
|
||||
source: function(req, resp) {
|
||||
$.getJSON(
|
||||
"/pools.json?search[name_contains]=" + req.term,
|
||||
function(data) {
|
||||
resp(data.map(function(x) {return x.pool.name;}));
|
||||
resp(data.map(function(x) {return x.name;}));
|
||||
}
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user