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 2
2
//= require defaults
3
3
4
4
class RecurringSelectDialog {
5
- static config = defaultConfig
6
-
7
5
constructor ( recurring_selector ) {
8
6
this . config = this . constructor . config
9
7
this . cancel = this . cancel . bind ( this ) ;
@@ -78,7 +76,7 @@ class RecurringSelectDialog {
78
76
79
77
freqInit ( ) {
80
78
this . freq_select = this . outer_holder . querySelector ( ".rs_frequency" ) ;
81
- const rule_type = this . current_rule . hash ? .rule_type
79
+ const rule_type = this . current_rule . hash && this . current_rule . hash . rule_type
82
80
if ( this . current_rule . hash != null && rule_type != null ) {
83
81
if ( rule_type . search ( / W e e k l y / ) !== - 1 ) {
84
82
this . freq_select . selectedIndex = 1
@@ -444,4 +442,6 @@ class RecurringSelectDialog {
444
442
}
445
443
}
446
444
445
+ RecurringSelectDialog . config = defaultConfig
446
+
447
447
window . RecurringSelectDialog = RecurringSelectDialog
You can’t perform that action at this time.
0 commit comments