mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-11 08:03:10 +00:00
Fixed converter demo.
This commit is contained in:
parent
f07a290793
commit
a21b4f34b2
2 changed files with 4 additions and 4 deletions
|
|
@ -11,10 +11,11 @@ $(function() {
|
|||
|
||||
function list() {
|
||||
var ul = $( "#conversions" ).empty()
|
||||
.filter( ":mobile-page" ).page( "destroy" ),
|
||||
.filter( ":mobile-page" ).page( "destroy" )
|
||||
.end(),
|
||||
ulEdit = $( "#edit-conversions" ).empty()
|
||||
.filter( ":mobile-page" ).page( "destroy" );
|
||||
|
||||
.filter( ":mobile-page" ).page( "destroy" )
|
||||
.end();
|
||||
$.each( all, function( index, conversion ) {
|
||||
// if last update was less then a minute ago, don't update
|
||||
if ( conversion.type === "currency" && !conversion.rate || conversion.updated && conversion.updated + 60000 < +new Date) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
<script type="text/javascript" src="application.js"></script>
|
||||
<style>
|
||||
.field { padding: 15px; }
|
||||
.editbutton { float: right; }
|
||||
</style>
|
||||
<script id="conversion-field" type="text/x-jquery-tmpl">
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Reference in a new issue