forked from 0x2620/oxjs
cleanup docs, fix children/find calls
This commit is contained in:
parent
a98902f165
commit
b9e80c9d75
88 changed files with 157 additions and 253 deletions
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/*@
|
||||
Ox.VideoEditorPlayer <f:Ox.Element> VideoEditorPlayer Object
|
||||
() -> <f> VideoEditorPlayer Object
|
||||
(options) -> <f> VideoEditorPlayer Object
|
||||
(options, self) -> <f> VideoEditorPlayer Object
|
||||
() -> <o> VideoEditorPlayer Object
|
||||
(options) -> <o> VideoEditorPlayer Object
|
||||
(options, self) -> <o> VideoEditorPlayer Object
|
||||
options <o> Options object
|
||||
self <o> shared private variable
|
||||
@*/
|
||||
|
|
@ -196,15 +196,14 @@ Ox.VideoEditorPlayer = function(options, self) {
|
|||
$.browser.mozilla && self.$positionInput.css({
|
||||
marginTop: '-19px'
|
||||
});
|
||||
// fixme: children doesnt work w/o $element
|
||||
self.$positionInput.$element.children('.OxLabel').each(function(i, element) {
|
||||
self.$positionInput.children('.OxLabel').each(function(i, element) {
|
||||
$(this).css({
|
||||
width: '22px',
|
||||
marginLeft: (i == 0 ? 8 : 0) + 'px',
|
||||
background: 'rgb(32, 32, 32)'
|
||||
});
|
||||
});
|
||||
self.$positionInput.$element.children('div.OxInput').each(function(i) {
|
||||
self.$positionInput.children('div.OxInput').each(function(i) {
|
||||
var marginLeft = [-82, -58, -34, -10];
|
||||
$(this).css({
|
||||
marginLeft: marginLeft[i] + 'px'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue