Closed mtruneck closed 5 years ago
I finally managed to found the issue. The thing is that I parsed the new size from element attributes which caused that the type of the variable was string instead of number. Then, (1 + 5) was not 6 but 15, which explained a lot.
Although this is obviously my fault, I suggest adding variable type checks to the beginning of functions.
I wanted to make minimalisation function in gridster, but the resize_widget probably breaks something...
I tried to isolate the problem in this jsFiddle: http://jsfiddle.net/Q2KB6/
When you click on "up" text on the left upper widget and then again click on "down", the widget below this one will goo far far down.
I use Firefox 24 and gridster 0.2.1