kopia lustrzana https://github.com/c9/core
Fix splitbutton moveleft behavior
rodzic
e217f50307
commit
df665936f3
|
@ -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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue