File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,9 @@ export default {
212212 else if (v .options .display_mode !== ' always' && v .options .display_mode !== ' voted' && v .options .display_mode !== ' expired' ) { return false }
213213 else { return true }
214214 }
215+ const saveOptions = () => {
216+ console .log (' saveOptions' )
217+ }
215218 const showPollResults = () => {
216219 const displayMode = v .pollCopy .display_mode
217220 const hasVoted = v .pollCopy .has_voted
@@ -276,6 +279,10 @@ export default {
276279 v .options .display_mode = ' always'
277280 }
278281 }
282+ const scrollPollView = () => {
283+ console .log (' scrollPollView' )
284+ // $('#poll-view').animate({ scrollTop: 0 }, 250)
285+ }
279286 /* Internal Data */
280287 const $auth = inject (AuthStore)
281288
@@ -321,11 +328,13 @@ export default {
321328 toggleAnswer,
322329 canRemoveVote,
323330 pollValid,
331+ saveOptions,
324332 showPollResults,
325333 vote,
326334 removeVote,
327335 updateLockPoll,
328336 calcExpiration,
337+ scrollPollView,
329338 humanDate
330339 }
331340 }
You can’t perform that action at this time.
0 commit comments