MediaWiki:Common.js: Difference between revisions

let's try putting it inside the list
(didn't align properly; let's try it as a bg image)
(let's try putting it inside the list)
Line 324: Line 324:
   
   
             var liNode = document.createElement('li');
             var liNode = document.createElement('li');
             liNode.setAttribute('list-style-image', "url('http://wiki.oni2.net/w/images/1/10/Separator.png')");
             liNode.setAttribute('background-image', "url('http://wiki.oni2.net/w/images/1/10/Separator.png')");
            liNode.setAttribute('list-style-position', 'inside');
             node.appendChild(liNode);
             node.appendChild(liNode);
         }
         }