Skip to content

Samba! Primo commento

Grazie a Samba ho trovato un “piccolo” bug sui seguenti post:

.

Il baco non era facilmente visibile:

if you drag it from positon0 to position1 then click prev then drag it position2 than press prev this will carry box to positon1.

Un classico problema dell’algoritmo “history”. Ho corretto tutti i post che usavano quel pezzo di codice.
Ringrazio ancora Samba per aver letto un post in “italiano”.


        this.update = function(){
            if(_position < _stack.length)
                _stack = _stack.slice(0,_position);

            _style = jQuery(this.ref).attr("style");
            _stack.push(_style);
            _position = _stack.length;
        };

Post a Comment

Your email is never published nor shared. Required fields are marked *