Firstrun will open the options.
This commit is contained in:
parent
69e465ea5b
commit
7c103f99f2
@ -1228,7 +1228,11 @@
|
|||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
});
|
});
|
||||||
$.on(a, 'click', options.dialog);
|
$.on(a, 'click', options.dialog);
|
||||||
return $.replace(home, a);
|
$.replace(home, a);
|
||||||
|
if (!$.get('firstrun')) {
|
||||||
|
options.dialog();
|
||||||
|
return $.set('firstrun', true);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
dialog: function() {
|
dialog: function() {
|
||||||
var arr, back, checked, description, dialog, hiddenNum, hiddenThreads, input, key, li, obj, overlay, ta, time, ul, _i, _j, _len, _len2, _ref, _ref2, _ref3;
|
var arr, back, checked, description, dialog, hiddenNum, hiddenThreads, input, key, li, obj, overlay, ta, time, ul, _i, _j, _len, _len2, _ref, _ref2, _ref3;
|
||||||
|
|||||||
@ -882,6 +882,9 @@ options =
|
|||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on a, 'click', options.dialog
|
$.on a, 'click', options.dialog
|
||||||
$.replace home, a
|
$.replace home, a
|
||||||
|
unless $.get 'firstrun'
|
||||||
|
options.dialog()
|
||||||
|
$.set 'firstrun', true
|
||||||
|
|
||||||
dialog: ->
|
dialog: ->
|
||||||
dialog = ui.dialog 'options', '', '
|
dialog = ui.dialog 'options', '', '
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user