Browse Source
Merge pull request #1375 from dsgh/wrapper-not-droppable-visual-fix
Don't display drop placeholder when no target
pull/1382/head
Artur Arseniev
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/utils/Sorter.js
|
|
|
@ -385,6 +385,7 @@ module.exports = Backbone.View.extend({ |
|
|
|
const target = this.target; |
|
|
|
const targetModel = this.getTargetModel(target); |
|
|
|
this.selectTargetModel(targetModel); |
|
|
|
if (!targetModel) plh.style.display = 'none'; |
|
|
|
|
|
|
|
this.lastDims = dims; |
|
|
|
var pos = this.findPosition(dims, rX, rY); |
|
|
|
|