Fix typo inside Switch class
Corrects setToogleState into setToggleState, slipped from 4dfc869e
https://bugzilla.gnome.org/show_bug.cgi?id=621880
This commit is contained in:
parent
2e77724341
commit
0c38f49dde
@ -34,7 +34,7 @@ Switch.prototype = {
|
|||||||
this.setToggleState(state);
|
this.setToggleState(state);
|
||||||
},
|
},
|
||||||
|
|
||||||
setToogleState: function(state) {
|
setToggleState: function(state) {
|
||||||
if (state) {
|
if (state) {
|
||||||
this._on.remove_style_pseudo_class('checked');
|
this._on.remove_style_pseudo_class('checked');
|
||||||
this._on.text = _("ON");
|
this._on.text = _("ON");
|
||||||
|
Loading…
Reference in New Issue
Block a user