Pārlūkot izejas kodu

5.2 release notes - fix code type

- We usually use `javascript` not `js`
LB Johnston 1 gadu atpakaļ
vecāks
revīzija
d0b588228d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      docs/releases/5.2.md

+ 1 - 1
docs/releases/5.2.md

@@ -368,7 +368,7 @@ This behaviour has now moved to a Stimulus controller and leverages DOM events i
 
 You can implement roughly the equivalent functionality with this JavaScript function, however, this will not be guaranteed to work in future releases.
 
-```js
+```javascript
 window.updateFooterSaveWarning = (formDirty, commentsDirty) => {
   if (!formDirty && !commentsDirty) {
     document.dispatchEvent(new CustomEvent('w-unsaved:clear'));