Fix splitbutton moveleft behavior

pull/223/head
Ruben Daniels 2015-10-13 07:32:18 -07:00 zatwierdzone przez nightwing
rodzic e217f50307
commit df665936f3
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -33555,7 +33555,9 @@ apf.splitbutton = function(struct, tagName) {
var diff = apf.getAbsolutePosition(split.$button2.$ext)[0]
- apf.getAbsolutePosition(split.$button1.$ext)[0];
this.$ext.style.marginLeft = "-" + diff + "px";
this.$ext.style.marginLeft = ~this.$ext.className.indexOf("moveleft")
? 0
: "-" + diff + "px";
});
menu.$splitInited = true;
}