Browse Source

Got popovers working.

pull/167/head
Sean Zicari 6 years ago
parent
commit
b5ede48d51
3 changed files with 5 additions and 3 deletions
  1. +1
    -1
      src/assets/scripts/elm/Components/Footer.elm
  2. +2
    -0
      src/assets/scripts/elm/index.js
  3. +2
    -2
      src/assets/scripts/popover/index.js

+ 1
- 1
src/assets/scripts/elm/Components/Footer.elm View File

@ -8,7 +8,7 @@ view : Html msg
view =
footer [ class "bdT ta-c p-30 lh-0 fsz-sm c-grey-600" ]
[ span []
[ text "Copyright © 2017 Designed by"
[ text "Copyright © 2017 Designed by "
, a [ href "https://colorlib.com", target "_blank", title "Colorlib" ]
[ text "Colorlib" ]
]


+ 2
- 0
src/assets/scripts/elm/index.js View File

@ -1,6 +1,7 @@
import { Elm } from './Main.elm';
import { initSidebar } from '.././sidebar';
import { initSearch } from '../search';
import { initPopovers } from '../popover';
export default (function () {
var firebaseConfig = require('./firebaseConfig');
@ -38,6 +39,7 @@ export default (function () {
app.ports.initHeader.subscribe(() => {
initSearch();
initPopovers();
});
});
} else {


+ 2
- 2
src/assets/scripts/popover/index.js View File

@ -1,7 +1,7 @@
import * as $ from 'jquery';
import 'bootstrap';
export default (function () {
export function initPopovers() {
// ------------------------------------------------------
// @Popover
// ------------------------------------------------------
@ -13,4 +13,4 @@ export default (function () {
// ------------------------------------------------------
$('[data-toggle="tooltip"]').tooltip();
}());
};

Loading…
Cancel
Save