Commit d2b7178b authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Fix CSS class name for events table rows.

Because this class name was used as part of the cache key,
a class having method and event with same name would wrongly
use the cached version of method in place of event.

Now fixed.
parent d2daa552
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ module JsDuck
      @id = @cls.full_name + "-events"
      @title = "Public Events"
      @column_title = "Event"
      @row_class = "method-row"
      @row_class = "event-row"
      @short_params = ShortParams.new
      @long_params = LongParams.new(@cls)
    end