Commit ec485ec19d7a233ca1fad1d9688de7314fc8dc7b:
    *sigh* fix typo

Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>

------------------------------------------------------------
www/board/agenda/views/pages/report.js.rb                    | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/board/agenda/views/pages/report.js.rb 
b/www/board/agenda/views/pages/report.js.rb
index 2ad96d4..223a2ed 100644
--- a/www/board/agenda/views/pages/report.js.rb
+++ b/www/board/agenda/views/pages/report.js.rb
@@ -95,7 +95,7 @@ def linebreak(text)
     while result = regex.exec(text)
       line = result[0]
       lastspace = /^.*\s\S/.exec(line)
-      if lastspace and lastspace[0].lentgh -1 > 40
+      if lastspace and lastspace[0].length - 1 > 40
         indicies.unshift([line, result.index]) 
       end
     end

Reply via email to