Skip to content

Commit a617727

Browse files
author
Philip Guo
committed
teeny
1 parent 9862ab5 commit a617727

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎v3/js/opt-frontend.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ $(document).ready(function() {
108108
}
109109

110110
// default mode is 'edit'
111-
if (appMode == undefined) {
111+
if (appMode === undefined) {
112112
appMode = 'edit';
113113
}
114114

@@ -144,6 +144,8 @@ $(document).ready(function() {
144144
else {
145145
assert(false);
146146
}
147+
148+
$('#urlOutput').val(''); // clear to avoid stale values
147149
});
148150

149151
// From: http://benalman.com/projects/jquery-bbq-plugin/

0 commit comments

Comments
 (0)