Sergey Biryukov 3bc41df4e4 Widgets: When checking for errors in Custom HTML widget, pass correct value to toggleClass() for Save button.
`toggleClass()` expects a boolean as a second argument, not an integer.

Props iCaleb.
Merges 42457 to the 4.9 branch.
Fixes #42867.
Built from https://develop.svn.wordpress.org/branches/4.9@42458


git-svn-id: http://core.svn.wordpress.org/branches/4.9@42287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-15 23:51:38 +00:00
..
2018-01-13 11:28:43 +00:00
2013-11-15 05:16:09 +00:00
2013-12-05 22:01:10 +00:00
2017-08-24 17:52:44 +00:00
2017-10-31 01:33:47 +00:00
2015-06-01 17:38:29 +00:00