Skip to content
Code-Schnipsel Gruppen Projekte
Commit 54120d39 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

pagination -> calc

Übergeordneter caf5a758
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -383,10 +383,11 @@ define('package/quiqqer/bricks/bin/Controls/Pagination', [
// we must calc the max sheets
// calc with last sheets, its the longest
var lastSize = this.$Last.getSize().x,
comSize = this.$Last.getComputedSize();
var lastSize = this.$Last.getSize().x;
lastSize = lastSize + comSize['margin-right'] + comSize['margin-left'];
lastSize = lastSize +
this.$Last.getStyle('marginRight').toInt() +
this.$Last.getStyle('marginLeft').toInt();
this.$showMax = (elmSize.x / lastSize).floor();
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren