Cleanup and use global style on popups (#17674)

* Cleanup and use global style on popups

- Fix typo 'poping' to 'popping'
- Remove most inline 'data-variation' attributes
- Initialize all popups with 'inverted tiny' variation

* misc tweaks

* rename to .tooltip, use jQuery

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwind 2021-11-18 04:26:50 +01:00 committed by GitHub
parent c98dd7a3e0
commit 6874fe90e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 129 additions and 121 deletions

View file

@ -137,7 +137,7 @@ function initVueComponents() {
mounted() {
this.changeReposFilter(this.reposFilter);
$(this.$el).find('.poping.up').popup();
$(this.$el).find('.tooltip').popup();
$(this.$el).find('.dropdown').dropdown();
this.setCheckboxes();
Vue.nextTick(() => {