|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
if (mousedown == true){
|
|
|
|
|
var width = (tdWidth + (evt.screenX - screenXStart)) - p1 + "px";//计算后的新的宽度
|
|
|
|
|
var width2 = (tdWidth2 - (evt.screenX - screenXStart)) - p2 + "px";
|
|
|
|
|
if (parseInt(width)<0 || parseInt(width2)<0 || tdWidth > totalWidth || tdWidth2 > totalWidth){
|
|
|
|
|
if (parseInt(width)<5 || parseInt(width2)<5 || tdWidth > totalWidth || tdWidth2 > totalWidth){
|
|
|
|
|
tartgetTd = null;
|
|
|
|
|
resizeable = false;
|
|
|
|
|
mousedown = false;
|
|
|
|
|