mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-23 14:53:03 +02:00
Change function's name to what is called in javascript.
Function's name in the instructions was closeElementDrag, corrected it to StopElementDrag.
This commit is contained in:
@@ -176,7 +176,7 @@ All this recalculation of positioning allows you to fine-tune the behavior of th
|
|||||||
|
|
||||||
### Task
|
### Task
|
||||||
|
|
||||||
The final task to complete the interface is to add the `closeElementDrag` function after the closing curly bracket of `elementDrag`:
|
The final task to complete the interface is to add the `stopElementDrag` function after the closing curly bracket of `elementDrag`:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
function stopElementDrag() {
|
function stopElementDrag() {
|
||||||
|
Reference in New Issue
Block a user