Clean up: Remove Sortable
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user