File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const body = document.body,
6262 branchMenu = document . querySelector ( '.branch-menu' ) ,
6363
6464 dialog = document . querySelector ( '.dialog' ) ,
65- dialogHeader = dialog . querySelector ( '.header ' ) ,
65+ dialogTitle = dialog . querySelector ( '.title ' ) ,
6666 dialogCancel = dialog . querySelector ( '.cancel' ) ,
6767 dialogConfirm = dialog . querySelector ( '.confirm' ) ,
6868
@@ -150,10 +150,10 @@ function showMessage(message, duration) {
150150
151151// show dialog
152152
153- function showDialog ( confirmHandler , headerText , confirmText ) {
153+ function showDialog ( confirmHandler , titleText , confirmText ) {
154154
155155 // add dialog text to HTML
156- dialogHeader . textContent = headerText ;
156+ dialogTitle . textContent = titleText ;
157157 dialogConfirm . textContent = confirmText ;
158158
159159 // show dialog
You can’t perform that action at this time.
0 commit comments