Skip to content

Commit 56f9a75

Browse files
committed
MC-30726: Modal slide out will have title set incorrectly when dynamically set
1 parent f956769 commit 56f9a75

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/modal

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/modal/modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ define([
191191
* @param {String} title
192192
*/
193193
setTitle: function (title) {
194-
var $title = $(this.options.modalTitle),
194+
var $title = this.modal.find(this.options.modalTitle),
195195
$subTitle = this.modal.find(this.options.modalSubTitle);
196196

197197
$title.text(title);

0 commit comments

Comments
 (0)