mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Clean up: Remove Sortable
This commit is contained in:
parent
ec83e685d5
commit
c824217887
@ -123,7 +123,6 @@
|
||||
"rndstr": "1.0.0",
|
||||
"serve-favicon": "2.3.2",
|
||||
"shelljs": "0.7.6",
|
||||
"sortablejs": "1.5.0-rc1",
|
||||
"subdomain": "1.2.0",
|
||||
"summaly": "1.2.7",
|
||||
"swagger-jsdoc": "^1.8.4",
|
||||
|
@ -1,9 +1,6 @@
|
||||
riot = require \riot
|
||||
|
||||
module.exports = (me) ~>
|
||||
riot.mixin \sortable do
|
||||
Sortable: require \sortablejs
|
||||
|
||||
if me?
|
||||
(require './scripts/stream.ls') me
|
||||
|
||||
|
@ -286,7 +286,6 @@
|
||||
@mixin \api
|
||||
@mixin \notify
|
||||
@mixin \autocomplete
|
||||
@mixin \sortable
|
||||
|
||||
@wait = false
|
||||
@uploadings = []
|
||||
@ -406,10 +405,6 @@
|
||||
@trigger \change-files @files
|
||||
@update!
|
||||
|
||||
new @Sortable @refs.attaches, do
|
||||
draggable: \.file
|
||||
animation: 150ms
|
||||
|
||||
@post = (e) ~>
|
||||
@wait = true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user