LoginSignup
0
0

More than 3 years have passed since last update.

【notepad++/jN plugin】Dialog.jsちょっと修正(styleエラー対応)

Posted at

Jacop です、お久しぶりです。

今回は、notepad++ jN plugin の Tests>Show Dialog でエラーが出るので、その対策を。

前提条件として、jN plugin インストール済みであること。
notepad++ は portableapp版v7.8.5 で確認したよ。
jN plugin は ver2.2.185.6 で確認したよ。

修正箇所

\Notepad++\plugins\jN\jN\includes\Dialog.js 20行目を以下のように変更。

styles.styleSheet.cssText = this.cfg.css || '\nbody {overflow: auto;}\n';

styles.style.cssText = this.cfg.css || '\nbody {overflow: auto;}\n';

原因

styleSheet.cssText はIE10以前でしか動かないのでエラーとなる。

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0