File tree 2 files changed +1
-18
lines changed
2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 23
23
' <param name="autoPlay" value="false" />\n' +
24
24
' <param name="autoStart" value="false" />\n' +
25
25
' <param name="quality" value="high" />\n' ;
26
-
27
26
var DEFAULT_PREVIEW = '<div class="file-preview-other" ' + STYLE_SETTING + '>\n' +
28
27
' <h2><i class="glyphicon glyphicon-file"></i></h2>\n' +
29
28
' </div>' ;
673
672
}
674
673
}
675
674
676
- $ . fn . fileinput = function ( options ) {
677
- if ( ! hasFileAPISupport ( ) ) {
678
- return ;
679
- }
680
-
681
- return this . each ( function ( ) {
682
- var $this = $ ( this ) , data = $this . data ( 'fileinput' )
683
- if ( ! data ) {
684
- $this . data ( 'fileinput' , ( data = new FileInput ( this , options ) ) )
685
- }
686
- if ( typeof options == 'string' ) {
687
- data [ options ] ( )
688
- }
689
- } )
690
- } ;
691
-
692
675
//FileInput plugin definition
693
676
$ . fn . fileinput = function ( option ) {
694
677
if ( ! hasFileAPISupport ( ) ) {
You can’t perform that action at this time.
0 commit comments