Skip to content

Commit

Permalink
disable multi select on boption
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz75 committed Mar 3, 2021
1 parent b86c10b commit f331690
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,11 +585,11 @@
_toggleBasedOn(this);
});
// multi select
boption.on('mouseenter', function(e){
if(e.buttons == 1 || e.buttons == 3){
_toggleBasedOn(this);
}
})
// boption.on('mouseenter', function(e){
// if(e.buttons == 1 || e.buttons == 3){
// _toggleBasedOn(this);
// }
// })
} else if (basedon === 'REAL') {
e.html('<span class="BasedOn" style="color:rgb(123, 206, 91);">R</span>');
var boption = $('<span/>', {
Expand All @@ -601,11 +601,11 @@
_toggleBasedOn(this);
});
// multi select
boption.on('mouseenter', function(e){
if(e.buttons == 1 || e.buttons == 3){
_toggleBasedOn(this);
}
})
// boption.on('mouseenter', function(e){
// if(e.buttons == 1 || e.buttons == 3){
// _toggleBasedOn(this);
// }
// })
} else if (basedon === 'USER') {
e.html('<span class="BasedOn" style="color:#00afe5;">M</span>');
}
Expand Down

0 comments on commit f331690

Please sign in to comment.