v1.0
只读模式 group, 分享 评论更多问题 博客标签总是存在一个
This commit is contained in:
4
public/tinymce/classes/ui/Movable.js
Normal file → Executable file
4
public/tinymce/classes/ui/Movable.js
Normal file → Executable file
@ -28,7 +28,7 @@ define("tinymce/ui/Movable", [
|
||||
x = pos.x;
|
||||
y = pos.y;
|
||||
|
||||
if (ctrl._fixed) {
|
||||
if (ctrl._fixed && DomUtils.getRuntimeStyle(document.body, 'position') == 'static') {
|
||||
x -= viewport.x;
|
||||
y -= viewport.y;
|
||||
}
|
||||
@ -128,7 +128,7 @@ define("tinymce/ui/Movable", [
|
||||
* @return {tinymce.ui.Control} Current control instance.
|
||||
*/
|
||||
moveRel: function(elm, rel) {
|
||||
if (typeof(rel) != 'string') {
|
||||
if (typeof rel != 'string') {
|
||||
rel = this.testMoveRel(elm, rel);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user