#9321

ToadLoadin
Member

Yes, it works! Thank you! :-D

Yutaka wrote:
Hi ToadLoadin,

You should write like this:

function toggleLineNum() {
var cfg = document.Config;
var isLineNumOn = cfg.General.ShowLineNumbers;
cfg.General.ShowLineNumbers = !isLineNumOn;
cfg.Save();
}