只读模式
group, 分享
评论更多问题
博客标签总是存在一个
This commit is contained in:
lealife committed 2015-06-15 18:01:48 +08:00
1 parent 7e458bb433
commit 6987a38820
1453 files changed
+114558 -91533

No files matched your search

+2 -2
View 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);
}