Skip to content

Commit

Permalink
Allow popups to open on click
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopeek committed Jan 25, 2017
1 parent 8e693f2 commit b24bd2e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions assets/semantic/dist/themes/romanesco/assets/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ $(document)
$('.ui.accordion').accordion();
$('.ui.dropdown').dropdown();
$('.with.popup').popup();
$('.with.popup.onclick')
.popup({
on: 'click'
})
;
$('.ui.tabular.menu .item').tab();
$('.ui.sortable.table').tablesort();

Expand Down
2 changes: 1 addition & 1 deletion assets/semantic/dist/themes/romanesco/assets/js/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $(document).ready(function(){
;
$('.slider-minimal')

// Initiate default slider
// Initiate slider with minimal controls
.slick({
adaptiveHeight: true,
arrows: false,
Expand Down
5 changes: 5 additions & 0 deletions assets/semantic/src/themes/romanesco/assets/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ $(document)
$('.ui.accordion').accordion();
$('.ui.dropdown').dropdown();
$('.with.popup').popup();
$('.with.popup.onclick')
.popup({
on: 'click'
})
;
$('.ui.tabular.menu .item').tab();
$('.ui.sortable.table').tablesort();

Expand Down

0 comments on commit b24bd2e

Please sign in to comment.