Fixes in popup.js
This commit is contained in:
parent
9c7b05577e
commit
82db143dc0
1 changed files with 5 additions and 1 deletions
6
popup.js
6
popup.js
|
|
@ -260,6 +260,8 @@ $=jQuery;
|
||||||
|
|
||||||
$(popup).addClass('content_popup');
|
$(popup).addClass('content_popup');
|
||||||
|
|
||||||
|
$(popup).appendTo('#layer_popup');
|
||||||
|
|
||||||
/*var position=$(popup).offset();
|
/*var position=$(popup).offset();
|
||||||
|
|
||||||
var left=position.left;
|
var left=position.left;
|
||||||
|
|
@ -302,6 +304,8 @@ $=jQuery;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(popup).appendTo('body');
|
||||||
|
|
||||||
$('#layer_popup').remove();
|
$('#layer_popup').remove();
|
||||||
|
|
||||||
$(popup).hide();
|
$(popup).hide();
|
||||||
|
|
@ -382,7 +386,7 @@ function dragElement(draggable, header) {
|
||||||
// call a function whenever the cursor moves:
|
// call a function whenever the cursor moves:
|
||||||
document.onmousemove = elementDrag;
|
document.onmousemove = elementDrag;
|
||||||
|
|
||||||
console.log('Moving...');
|
console.log('Moving... ');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue