Browse Source

Fixes progress example init

pull/1129/head
jlukic 10 years ago
parent
commit
346d29c1cd
2 changed files with 3 additions and 3 deletions
  1. 2
      server/documents/elements/progress.html.eco
  2. 4
      server/files/javascript/progress.js

2
server/documents/elements/progress.html.eco

@ -18,7 +18,7 @@ themes : ['Default', 'Striped']
<div class="main container">
<div class="ui tab" data-tab="definition">
<div class="ui definition tab" data-tab="definition">
<h2 class="ui dividing header">Types</h2>

4
server/files/javascript/progress.js

@ -4,8 +4,8 @@ semantic.progress = {};
semantic.progress.ready = function() {
var
$progress = $('.ui.progress').not('.success, .error, .warning'),
$stateProgress = $('.ui.success.progress, .ui.warning.progress, .ui.error.progress')
$progress = $('.definition .ui.progress').not('.success, .error, .warning'),
$stateProgress = $('.definition .ui.success.progress, .ui.warning.progress, .ui.error.progress')
;
setTimeout(function() {

Loading…
Cancel
Save