Commit e0e60a95 authored by BrokenEagle's avatar BrokenEagle Committed by evazion

Remove dead embedded code

parent 77861930
......@@ -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) {
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment