IE compat
This commit is contained in:
parent
f816ab853f
commit
37a8307027
|
@ -239,7 +239,7 @@
|
|||
<!-- {{{ download template -->
|
||||
<h3 ng-show="totalAria2Downloads()">Download List</h3>
|
||||
|
||||
<form ng-show="(totalAria2Downloads() > pageSize) || downloadFilter.length" id="filters">
|
||||
<form ng-show="(totalAria2Downloads() > pageSize) || downloadFilter.length" id="filters" class="clearfix">
|
||||
<fieldset>
|
||||
<label for="download-filter" id="download-filter-label">Search</label>
|
||||
<input id="download-filter" type="text" ng-model="downloadFilter" ng-change="onDownloadFilter()" class="input-large"/>
|
||||
|
@ -276,8 +276,6 @@
|
|||
</fieldset>
|
||||
</form>
|
||||
|
||||
<span class="clearfix"></span>
|
||||
|
||||
<div class="pagination pagination-right" ng-show="totalDownloads > pageSize">
|
||||
<pagination
|
||||
total-items="totalDownloads"
|
||||
|
|
|
@ -11,7 +11,7 @@ angular.module('webui.services.utils', [])
|
|||
return rndBuffer;
|
||||
};
|
||||
|
||||
if (!crypto.getRandomValues) {
|
||||
if (!window.crypto || !crypto.getRandomValues) {
|
||||
return rnd16Weak;
|
||||
}
|
||||
return function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user