Changeset 2689809
- Timestamp:
- 03/07/2022 06:25:24 AM (4 years ago)
- Location:
- wonderplugin-pdf-embed/trunk
- Files:
-
- 3 edited
-
pdfjslight/web/viewer.js (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wonderplugin-pdf.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wonderplugin-pdf-embed/trunk/pdfjslight/web/viewer.js
r2676079 r2689809 512 512 } 513 513 514 // custom external link target 515 const queryString = document.location.search.substring(1); 516 const params = (0, _ui_utils.parseQueryString)(queryString); 517 let customTarget; 518 customTarget = params.get("externallinktarget") ?? 0; 519 _app_options.AppOptions.set("externalLinkTarget", parseInt(customTarget)); 520 514 521 await this._initializeViewerComponents(); 515 522 this.bindEvents(); -
wonderplugin-pdf-embed/trunk/readme.txt
r2689762 r2689809 97 97 == Changelog == 98 98 99 = 2.5 = 100 * Fix a bug on setting the default PDF link target 101 99 102 = 2.4 = 100 103 * Add an option to specify the default PDF link target -
wonderplugin-pdf-embed/trunk/wonderplugin-pdf.php
r2689763 r2689809 4 4 Plugin URI: https://www.wonderplugin.com/wordpress-pdf-embed/ 5 5 Description: Embed PDF to your WordPress website 6 Version: 2. 46 Version: 2.5 7 7 Author: Magic Hills Pty Ltd 8 8 Author URI: https://www.wonderplugin.com … … 190 190 <option value="4" <?php echo ($settings['externallinktarget'] == 4) ? 'selected="selected"' : ''; ?>>_top</option> 191 191 </select> 192 <p style="font-weight:bold;font-style:italic;margin-top:18px;">Please note: make sure to clear caches of your web browser and your WordPress site after you chagne the option.</p>192 <p style="font-weight:bold;font-style:italic;margin-top:18px;">Please note: this option only works with the new light color theme.</p> 193 193 </td> 194 194 </tr> 195 195 <tr> 196 196 <th>PDF.js Version</th> 197 <td><p><label><input name='usedarktheme' type='checkbox' id='usedarktheme' <?php echo ($settings['usedarktheme'] == 1) ? 'checked' : ''; ?> /> Use Mozilla PDF.js version 2.0.493 (dark theme toolbar)</label></p></td>197 <td><p><label><input name='usedarktheme' type='checkbox' id='usedarktheme' <?php echo ($settings['usedarktheme'] == 1) ? 'checked' : ''; ?> /> Use Mozilla PDF.js old version 2.0.493 (dark theme toolbar)</label></p></td> 198 198 </tr> 199 199 </table>
Note: See TracChangeset
for help on using the changeset viewer.