mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Exclude add-frame-button from sortable items in preview-film
This commit is contained in:
parent
6cb145ae34
commit
07ced5a3b2
@ -94,10 +94,11 @@
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
ns.PreviewFilmController.prototype.initDragndropBehavior_ = function () {
|
ns.PreviewFilmController.prototype.initDragndropBehavior_ = function () {
|
||||||
|
|
||||||
$("#preview-list").sortable({
|
$("#preview-list").sortable({
|
||||||
placeholder: "preview-tile-drop-proxy",
|
placeholder: "preview-tile-drop-proxy",
|
||||||
update: $.proxy(this.onUpdate_, this)
|
update: $.proxy(this.onUpdate_, this),
|
||||||
|
items: "li:not(#add-frame-action)"
|
||||||
});
|
});
|
||||||
$("#preview-list").disableSelection();
|
$("#preview-list").disableSelection();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user