forked from wikimedia-gadgets/twinkle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no longer allow users to set portlet preferences
- No longer allow users to set portlet preferences. These hidden preferences were rarely used (6 instances found), and increase technical debt by making the code complex. I think it makes sense to eliminate them. - Move defaults for these values to the Twinkle.addPortlet() function, a more natural spot for these. - One of these preferences was used outside the Twinkle.addPortlet() function, so modify Twinkle.addPortlet() to return the preference and place it in a variable. - Add a comment about what $.collapsibleTabs is. Related wikimedia-gadgets#1836 Note to self: not manually tested yet.
- Loading branch information
1 parent
100cfbf
commit 4c9cd19
Showing
2 changed files
with
35 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters