Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / third_party / trace-viewer / third_party / tvcm / src / tvcm / ui / drag_handle.js
index 018293d..16b5765 100644 (file)
@@ -115,7 +115,7 @@ tvcm.exportTo('tvcm.ui', function() {
       // Apply new size to the container.
       var curSize = this.getTargetSize_();
       var newSize;
-      if (this.target_ === this.nextSibling) {
+      if (this.target_ === this.nextElementSibling) {
         newSize = curSize + delta;
       } else {
         newSize = curSize - delta;