Remove dead embedded code

This commit is contained in:
BrokenEagle
2020-02-02 06:33:31 +00:00
committed by evazion
parent 778619301e
commit e0e60a9546
2 changed files with 0 additions and 29 deletions

View File

@@ -65,12 +65,6 @@ let Note = {
Note.dragging = true;
Note.clear_timeouts();
Note.Body.hide_all();
if (Note.embed) {
var $bg = $note_box_inner.find("div.bg")
if ($bg.length) {
$bg.hide();
}
}
e.stopPropagation();
}
);
@@ -87,14 +81,6 @@ let Note = {
"dragstop.danbooru resizestop.danbooru",
function(e) {
Note.dragging = false;
if (Note.embed) {
var $note_box_inner = $(e.currentTarget);
var $bg = $note_box_inner.find("div.bg")
if ($bg.length) {
$bg.show();
Note.Box.resize_inner_border($note_box_inner.closest(".note-box"));
}
}
e.stopPropagation();
}
);
@@ -157,14 +143,6 @@ let Note = {
if ($inner_border.height() >= $note_box.height() - 2) {
$note_box.height($inner_border.height() + 2);
}
if (Note.embed) {
var $bg = $inner_border.find("div.bg");
if ($bg.length) {
$bg.height($inner_border.height());
$bg.width($inner_border.width());
}
}
},
scale: function($note_box) {

View File

@@ -116,13 +116,6 @@ div#note-container {
opacity: 0.4;
}
div.bg {
height: 100%;
text-align: center;
display: table-cell;
vertical-align: middle;
}
div.ui-resizable-handle {
display: none;
}