mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 07:17:12 +00:00
(js) Minor JavaScript code cleanup
This commit is contained in:
1 parent
836700fb7e
commit
8b812ba4f0
3 files changed
+2
-5
No files matched your search
@@ -12,8 +12,7 @@
|
||||
* @example:
|
||||
<sg-avatar-image sg-email="test@email.com" size="50">person</sg-avatar-image>
|
||||
*/
|
||||
sgAvatarImage.$inject = ['$parse'];
|
||||
function sgAvatarImage($parse) {
|
||||
function sgAvatarImage() {
|
||||
return {
|
||||
restrict: 'AE',
|
||||
scope: {},
|
||||
|
||||
@@ -89,8 +89,6 @@
|
||||
|
||||
// Start dragging on mousedown
|
||||
onDragDetect: function(ev) {
|
||||
var dragMode, pointerHandler;
|
||||
|
||||
ev.stopPropagation();
|
||||
|
||||
if (!this.dragStart || this.dragStart(scope)) {
|
||||
|
||||
Reference in new issue
Block a user