Skip to content

Commit 214e08d

Browse files
committed
细节更新
1 parent 031f7d2 commit 214e08d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎js/hros.app.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,10 @@ HROS.app = (function(){
432432
}
433433
});
434434
//桌面应用拖动
435-
$('#desktop .desktop-apps-container').on('mousedown', '.appbtn:not(.add)', function(e){
435+
$('#desktop .desktop-apps-container').on('mousedown', '.appbtn', function(e){
436436
e.preventDefault();
437437
e.stopPropagation();
438-
if(e.which == 1){
438+
if(e.which == 1 && !$(this).hasClass('add')){
439439
var oldobj = $(this);
440440
var obj = $('<div id="shortcut_shadow">' + oldobj.html() + '</div>');
441441
var dx = e.clientX;

0 commit comments

Comments
 (0)