Skip to content

Commit ea054da

Browse files
committed
add chrome warning back just in case
1 parent cc597ad commit ea054da

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

ui.R

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,15 @@ url = {http://statnetproject.org}
781781
fluidRow(
782782
textInput(inputId="terms", label=NULL,
783783
value="edges"),
784-
actionButton('fitButton', 'Fit Model')
784+
actionButton('fitButton', 'Fit Model'),
785+
div(class="helper chromewarning", icon('warning'),"Note for Chrome users",
786+
style="font-size:.80em; display:inline;",
787+
div(class="chromewarningbox",
788+
p("When running statnetWeb on the Google Chrome browser",
789+
"we have noticed an occasional delay between clicking the 'Add Term(s)' button and",
790+
"the terms populating the formula. You don't need to type the terms again,",
791+
"they will be added on your next click of the button. Thank you",
792+
"for your patience as we look for a solution!")))
785793
),
786794
fluidRow(actionButton('addtermButton', 'Add Term(s)'),
787795
actionButton('resetformulaButton', 'Reset Formula'),

www/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ div.smallhelperbox {
7474
z-index: 10;
7575
}
7676

77-
div.mischelperbox {
77+
div.mischelperbox,
78+
div.chromewarningbox {
7879
position:absolute;
7980
z-index: 10;
8081
display:none;
@@ -112,7 +113,8 @@ div.mischelperbox {
112113
margin-top:10px;
113114
}
114115

115-
#fitButton {
116+
#fitButton,
117+
.chromewarning {
116118
margin-bottom:10px;
117119
}
118120

0 commit comments

Comments
 (0)