scratch – Diff between revs 95 and 98

Subversion Repositories:
Rev:
Show entire fileRegard whitespace
Rev 95 Rev 98
Line 117... Line 117...
117 ] 117 ]
118 ), 118 ),
119 '.url' 119 '.url'
120 ); 120 );
Line -... Line 121...
-   121
-   122 $.get('session.php').then((token) => {
121 123 formData.append('token', token);
122 $.ajax({ 124 $.ajax({
123 url: 'file.php', 125 url: 'file.php',
124 type: 'POST', 126 type: 'POST',
125 data: formData, 127 data: formData,
Line 149... Line 151...
149 .concat("/") 151 .concat("/")
150 .concat(data.hash) 152 .concat(data.hash)
151 ); 153 );
152 }); 154 });
153 }); 155 });
-   156 });
Line 154... Line 157...
154 157
155 // Enable the Clipboard button. 158 // Enable the Clipboard button.
156 new Clipboard('#copy-url'); 159 new Clipboard('#copy-url');