v1.0
只读模式 group, 分享 评论更多问题 博客标签总是存在一个
This commit is contained in:
1 parent
7e458bb433
commit
6987a38820
1453 files changed
+114558
-91533
No files matched your search
Regular → Executable
+2
-2
@@ -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