teaching activity fix firefox editing

*Fix #801