Skip to content

Commit

Permalink
NumberPicker: destroy Spin widget on NumberPicker destroying
Browse files Browse the repository at this point in the history
[Issue] #1532
[Problem] Spin widget has to be destroy on NumberPicker destroying
[Solution]
 - NumberPicker destroy method has been modified

Signed-off-by: Tomasz Lukawski <t.lukawski@samsung.com>
  • Loading branch information
TomaszLukawskiSam authored and HunseopJeong committed Dec 7, 2020
1 parent eb97ca3 commit b13c490
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/profile/wearable/widget/wearable/NumberPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@
self._unbindEvents();

// destroy widgets
self._spin.destroy();
self._circleIndicator.destroy();

// remove classes
Expand Down

0 comments on commit b13c490

Please sign in to comment.