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

4
public/tinymce/classes/ui/Movable.js Normal file → Executable file
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);
}