Quantcast

Fix a typo in CliqueEditTemplate

James Whitehead II [09-21-10 - 09:10]
Fix a typo in CliqueEditTemplate
Filename
Clique.xml
diff --git a/Clique.xml b/Clique.xml
index fdc8115..af8ed6d 100644
--- a/Clique.xml
+++ b/Clique.xml
@@ -73,11 +73,11 @@
 				</Size>
 				<Scripts>
 				  <OnTextChanged>
-                    local scrollBar = _G[self:GetParent():GetName() .. "ScrollBar")
+                    local scrollBar = _G[self:GetParent():GetName() .. "ScrollBar")]
                     self:GetParent():UpdateScrollChildRect()
 					local min, max = scrollBar:GetMinMaxValues();
                     if max > 0 and self.max ~= max then
-					    this.max = max;
+					    self.max = max;
 					    scrollBar:SetValue(max);
 					end
 				  </OnTextChanged>