5
karma
5y

I needed to rewrite pagination from:

A) 1 ... [3] 4 5 6 ... 13
B) 1 ... [4] 5 6 7 ... 13

To:

A) 1 2 [3] 4 5 ... 13
B) 1 ... 3 [4] 5 6 ... 13

And the maths got me a headache

Comments
Add Comment