• OK, it's on.
  • Please note that many, many Email Addresses used for spam, are not accepted at registration. Select a respectable Free email.
  • Done now. Domine miserere nobis.

"Dispay"

SEPKA

What???
Local time
Today 6:27 PM
Joined
Oct 6, 2009
Messages
225
---
Location
I suggest I could put the coordinate here but then
It is either my problem (which seems not to be since I have tried different computer, browser and OS), or the forum problem, or the network at my place's problem.
Anyway, the Spoiler button is currently "Dispay" which is wrong spellings.
 

Claverhouse

Royalist Freicorps Feldgendarme
Local time
Today 11:27 AM
Joined
Sep 7, 2007
Messages
1,159
---
Location
Between the Harz and Carpathians

Cameron

gone
Local time
Today 6:27 AM
Joined
Dec 14, 2009
Messages
8
---
Location
USA
This was kind of bothering me too, as incredibly trivial as it is.

It looks like someone already reported the bug to the developer several months ago, to no avail, so I decided to write a GreaseMonkey script to hack around the problem.

I guess you're not using Firefox, but maybe you'll switch someday or this will be of use to someone else:

Code:
// ==UserScript==
// @name           Hied
// @namespace      http://intpforum.com/
// @description    Hied dispay
// @include        http://*intpforum.com/*
// ==/UserScript==

// GreaseMonkey won't let us modify the existing onClick
// handler, so we'll just fight it.  That's right, violence is the solution!
function battlingClickHandler() {
 if (this.value == 'Dispay')
    this.value = 'Display';
}

// Find the relevant spoiler buttons
spoilerButtons = document.evaluate(
  "//input[@value='Dispay' and @type='button']",
  document,
  null,
  XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,
  null);

// Go through and fix each one
for (var i = 0; i < spoilerButtons.snapshotLength; i++) {
  var node = spoilerButtons.snapshotItem(i);

  // Adjust the initial label
  node.value = "Display";

  // Make sure it stays that way even after being clicked
  node.addEventListener("click", battlingClickHandler, true);  
}
Oh, and yes, I am totally avoiding doing more important things. :rolleyes:

Hope this helps.
 
Top Bottom