mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-12 23:11:38 +08:00
添加Metronic(作为LFS)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
var PortletDraggable = function () {
|
||||
|
||||
return {
|
||||
//main function to initiate the module
|
||||
init: function () {
|
||||
|
||||
if (!jQuery().sortable) {
|
||||
return;
|
||||
}
|
||||
|
||||
$("#sortable_portlets").sortable({
|
||||
connectWith: ".portlet",
|
||||
items: ".portlet",
|
||||
opacity: 0.8,
|
||||
coneHelperSize: true,
|
||||
placeholder: 'sortable-box-placeholder round-all',
|
||||
forcePlaceholderSize: true,
|
||||
tolerance: "pointer"
|
||||
});
|
||||
|
||||
$(".column").disableSelection();
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
}();
|
Reference in New Issue
Block a user