We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d597be3 + c0ec71c commit 3736a7aCopy full SHA for 3736a7a
docs/4.x/extend/widget-types.md
@@ -72,7 +72,7 @@ Each widget is rendered inside a HTML element with an `id` attribute like `widge
72
Craft.MyWidget = Garnish.Base.extend({
73
$widget: null,
74
init: function(id) {
75
- this.$widget = document.getElementById('#widget' + id);
+ this.$widget = document.getElementById('widget' + id);
76
77
// ...
78
},
docs/5.x/extend/widget-types.md
0 commit comments