Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f4e6de commit 2c16638Copy full SHA for 2c16638
dist/jquery.gridster.js
@@ -2695,14 +2695,13 @@
2695
((i + 1) * opts.widget_margins[1]) ) + 'px;} ');
2696
}
2697
2698
-
2699
- for (var y = 1; y < max_size_y; y++) {
+ for (var y = 1; y <= max_size_y; y++) {
2700
styles += (opts.namespace + ' [data-sizey="' + y + '"] { height:' +
2701
(y * opts.widget_base_dimensions[1] +
2702
(y - 1) * (opts.widget_margins[1] * 2)) + 'px;}');
2703
2704
2705
- for (var x = 1; x < max_size_x; x++) {
+ for (var x = 1; x <= max_size_x; x++) {
2706
styles += (opts.namespace + ' [data-sizex="' + x + '"] { width:' +
2707
(x * opts.widget_base_dimensions[0] +
2708
(x - 1) * (opts.widget_margins[0] * 2)) + 'px;}');
0 commit comments