mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
Previously, we tried to read the value from page_params, which was just a hack to make the calling code look cleaner. We now remove that hack and thus, our dependency on page_params existing. Now, if the caller does not specify a default value, we'll use the null-value. This also creates a new init() function to cleanly wrap the code that makes changes to the opts passed to the widget.
4.3 KiB
4.3 KiB