17,273
edits
m (remove whitespace in content selection) |
(some more whitespace stripping) |
||
Line 91: | Line 91: | ||
for _, c in ipairs( self.contents ) do | for _, c in ipairs( self.contents ) do | ||
if self.tabsLeft and self.tabsLeft.defaultSelection == c.selection | if type( c.selection ) == 'table' | ||
and self.tabsLeft and self.tabsLeft.defaultSelection == c.selection.left:gsub( "%s", "" ) | |||
or | and self.tabsTop and self.tabsTop.defaultSelection == c.selection.top:gsub( "%s", "" ) | ||
or self.tabsLeft and self.tabsLeft.defaultSelection == c.selection:gsub( "%s", "" ) | |||
or self.tabsTop and self.tabsTop.defaultSelection == c.selection:gsub( "%s", "" ) then | |||
c.default = true | c.default = true | ||
end | end |