Commit a7c53886 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon
Browse files

Bug 1898643: removing old layout class

removing any reference to .block-drop-on that was used to change
th background color when moving a block in a page on edit mode

Change-Id: I0631b8d387c764517183f57da8d53d335d592e8d
(cherry picked from commit 51eaa437)
parent d0406304
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -64,18 +64,6 @@
            });
            var newblock = temp.find('div.blockinstance');

            $('.blockinstance-header', newblock).on("mousedown", function() {
                    $('.js-col-row .column-content').each(function() {
                        $(this).addClass('block-drop-on', 100);
                    });
                });

            $('.blockinstance-header', newblock).on("mouseup", function() {
                $('.js-col-row .column-content').each(function() {
                    $(this).removeClass('block-drop-on', 500);
                });
            });

            swapNodes(oldblock.get()[0], newblock.get()[0]); // using DOM objects, not jQuery objects so we needn't worry about IDs

            var embedjs = data.data.javascript;
+0 −5
Original line number Diff line number Diff line
@@ -93,11 +93,6 @@
    padding-right: 0;
}

// Droppable area background indicator
.block-drop-on {
    background: scale-color($card-bg, $lightness: -5.25%);
}

.drag-handle,
.ui-draggable {
  cursor: move;